Home > Blockchain >  Error when I scrape Instagram accounts. Adding `?__a=1` to the URL doesn't work anymore. Any cl
Error when I scrape Instagram accounts. Adding `?__a=1` to the URL doesn't work anymore. Any cl

Time:06-07

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?

CodePudding user response:

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

CodePudding user response:

I'm having the same problem, I think it has something to do with Ins turning __a=1 off, any other way to get page Json, Does anyone know?

  • Related