Sometimes when trying to scrape Instagram media, by adding at the end of the URL (?__a=1)
EX: https://www.instagram.com/p/CP-Kws6FoRS/?__a=1
The response returned
{
"__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": 1005622141
}
}
},
"lid": "7104767527440109183"
}
Why is this response returned and what should I do to fix this? Also, did we have another way to get the video and photo URL?