Instagram?__ a = 1 url不再工作& graphql / query获取数据的问题 [英] Instagram ?__a=1 url not working anymore & problems with graphql/query to get data
问题描述
使用cookie几天后 ig_pr
两天前就是阻止。看起来现在获取数据的唯一方法是使用具有特定值的 sessionid
After a few days using cookie ig_pr
two days ago is block. Looks like the only way to get the data now is use sessionid
with a specific value
我使用的是Instagram?__ a = 1 url来阅读Instagram用户的所有帖子。
I was using instagram ?__a=1 url to read all the post of instagram's users.
几小时前有响应中的更改现在不允许我使用 max_id
来分页。
A few hours ago there was a change in the response and now doesn't allow me to use max_id
to paginate.
在我经常发送之前请求
https://www.instagram.com/ {{username}} /?__ a = 1
并在响应中使用 graphql.edge_owner_to_timeline_media.page_info.end_cursor
我用新的方法调用了同一页面max_id
and using the graphql.edge_owner_to_timeline_media.page_info.end_cursor
in the response I called the same page with a new max_id
https://www.instagram.com/ {{username}} /?__ a = 1& max_id = {{end_cursor}}
现在 end_cursor
每次通话都会发生变化& max_id不起作用。
Now the end_cursor
changes in each call & max_id is not working.
请帮助:)
推荐答案
query_hash至少在过去几天没有变化。它表明它是什么类型的查询。
The query_hash does not change, at least in the past few days. It indicate what TYPE of query it is.
下面列出了我知道的4种查询类型,希望这些帮助。
Below listed 4 query types I knew, hope these help.
在 https://www.instagram.com/下加载更多媒体某人/?__ a = 1
Load more media under https://www.instagram.com/someone/?__a=1
https://www.instagram.com/graphql/query/?query_hash=472f257a40c653c64c666ce877d59d2b&variables={"id":"93024","first":12,"after":"XXXXXXXX"}
(Instagram阻止了自2018-04-12以来的上述访问。你必须删除__a = 1并在块中提取JSON。在HTML中查找window._sharedData
(Instagram blocked the above access since 2018-04-12. You have to remove the __a=1 and extract the JSON inside a block. Look for "window._sharedData" in the HTML)
在媒体 =noreferrer> https://www.instagram.com/explore/tags/iphone/?__a=1
Load more media under https://www.instagram.com/explore/tags/iphone/?__a=1
https://www.instagram.com/graphql/query/?query_hash=298b92c8d7cad703f7565aa892ede943&variables={"tag_name":"iphone","first":12,"after":"XXXXXXXX"}
在<\\ n下加载更多媒体 a href =https://www.instagram.com/explore/locations/703629436462521/?__a=1 =noreferrer> https://www.instagram.com/explore/locations/703629436462521/?__a= 1
Load more media under https://www.instagram.com/explore/locations/703629436462521/?__a=1
https://www.instagram.com/graphql/query/?query_hash=ac38b90f0f3981c42092016a37c59bf7&variables={"id":"703629436462521","first":12,"after":"XXXXXXXX"}
为 https://www.instagram.com加载更多评论 / p / Bf-I2P6grhd /
Load more comments for https://www.instagram.com/p/Bf-I2P6grhd/
https://www.instagram.com/graphql/query/?query_hash=33ba35852cb50da46f5b5e889df7d159&variables={"shortcode":"Bf-I2P6grhd","first":20,"after":"XXXXXXXX"}
其中XXXXXXXX是原始请求的end_cursor
where XXXXXXXX is the end_cursor from the original request
这篇关于Instagram?__ a = 1 url不再工作& graphql / query获取数据的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!