Closed do-me closed 2 years ago
Hey man, this is an appreciation comment of how amazing this implementation is :D thank you very much i learned a lot!
This repo is definitely underrated!
Locations cannot be retrieved anymore without login. Hashtags as of 04/2022 still do work without login but seldomly in TOR (you must be lucky to hit a good endpoint), e.g.
but it might be only a matter of time until it's going to be closed entirely (without login).
However, posts seem to be consistently publicly available (maybe even for a longer time to positive Instagram SEO). Hence, I propose
I described it here as well.
After recent changes, the old endpoints, e.g.:
https://instagram.com/graphql/query/?query_hash=ac38b90f0f3981c42092016a37c59bf7&variables={"id":"<some_location_id>","first":50,"after":""}
seem not to work anymore.
However location IDs can still be mined successfully via a different endpoint:
Currently don't have time to investigate further but this quick fix works for me:
idata["data"]
withidata["graphql"]
.Same applies to hashtags. Just updated the code so hashtags can be mined again.