【发布时间】:2022-06-11 11:47:06
【问题描述】:
有时在尝试抓取 Instagram 媒体时,通过在 URL 末尾添加 (?__a=1)
前: https://www.instagram.com/p/CP-Kws6FoRS/?__a=1
返回的响应
{
"__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"
}
为什么会返回此响应,我应该如何解决此问题?另外,我们还有其他方法来获取视频和照片的 URL 吗?
【问题讨论】:
-
可能只是暂时的问题。它现在对我有用,来自西班牙:-------- {"graphql":{"shortcode_media":{"__typename":"GraphVideo","id":"2593557762631173202","shortcode":" CP-Kws6FoRS","dimensions":{"height":750,"width":750},"gating_info":null,"fact_check_overall_rating":null --------
-
它在某些设备上工作,而另一些则不工作,我不知道这是怎么回事
-
同样的问题,但前提是我通过了身份验证...
-
意大利,这里。同样的问题,不适用于 firefox 和 chrome、auth 和 not auth、单个帖子查询或完整配置文件。
标签: instagram screen-scraping instagram-api