当我刮擦Instagram帐户时,错误。将`?__ a = 1`添加到URL不再工作了。有线索吗?

发布于 2025-02-04 13:20:59 字数 610 浏览 7 评论 0原文

直到2天前,我能够通过在URL末尾添加?__ a = 1来刮擦Instagram帐户。

例如:https://www.instagram.com/xavi/?___A=1

现在,当我做同样的事情时,我会得到此响应:

for (;;);
{
  "__ar": 1,
  "error": 1357004,
  "errorSummary": "Sorry, something went wrong",
  "errorDescription": "Please try closing and re-opening your browser window.",
  "payload": null,
  "hsrp": {
    "hblp": {
      "consistency": {
        "rev": 1005632913
      }
    }
  },
  "lid": "7105412861952089317"
}

也许Instagram可能对他们的API进行了一些更改。

有什么线索有关如何刮擦用户信息吗?还是有解决方法?

Until 2 days ago, I was able to scrape Instagram accounts by adding ?__a=1 at the end of the URL.

E.g.: https://www.instagram.com/xavi/?__a=1

Now, when I do the same thing I get this response:

for (;;);
{
  "__ar": 1,
  "error": 1357004,
  "errorSummary": "Sorry, something went wrong",
  "errorDescription": "Please try closing and re-opening your browser window.",
  "payload": null,
  "hsrp": {
    "hblp": {
      "consistency": {
        "rev": 1005632913
      }
    }
  },
  "lid": "7105412861952089317"
}

Maybe Instagram might have done some changes in their API.

Is there any clue on how to scrape user information? Or is there any workaround?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

娇俏 2025-02-11 13:21:00

我尝试了不同的方式,但没有得到正确的答案。现在,使用此链接找到正确的方法。我可以进一步指导您获取有关ID

https://www.instagram.com/web/search/topsearch/?context=user&Amp;Count=0&Amp;Query=Xavi

I tried different ways and did not get the right answer. For now, use this link to find the right way. I can further guide you to get more information about an ID

https://www.instagram.com/web/search/topsearch/?context=user&count=0&query=xavi

尘曦 2025-02-11 13:21:00

如果您使用的是cookie,则只需从cookie删除ds_user_id字段
它可以正常工作

If you are using cookie then just remove the ds_user_id field from cookie
it will work fine

兲鉂ぱ嘚淚 2025-02-11 13:20:59

您可以使用吗

dis

?__ a = 1& __ d =在URL末尾的

,例如: https://www.instagram.com/instagram/?___ = 1& amp;__d=1

You can use

?__a=1&__d=dis

At the end of your URL

E.g.: https://www.instagram.com/instagram/?__a=1&__d=1

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文