chris-greening / instascrape

Powerful and flexible Instagram scraping library for Python, providing easy-to-use and expressive tools for accessing data programmatically
https://chris-greening.github.io/instascrape/
MIT License
630 stars 107 forks source link

Scrape by location id #49

Closed Sebsebzen closed 3 years ago

Sebsebzen commented 3 years ago

Is your feature request related to a problem? Please describe. For my project I would like to scrape Instagram media from particular places. I already have found a way to retrieve the place id's.

Describe the solution you'd like Scrape this endpoint: https://www.instagram.com/explore/locations/

chris-greening commented 3 years ago

Solid idea! I'll take a look into this later today and see what I can find 😎 From a quick glance at the JSON data served back at these location pages though, I have a good feeling we'll be able to accomplish something meaningful with a Location page scraper

Sebsebzen commented 3 years ago

Awesome. Looking forward to it!

chris-greening commented 3 years ago

Alright, just pushed this feature in the v1.4.0 update on GitHub and PyPI. Great idea, thanks for the contribution! I'll look into adding support for scraping the Location directory pages in the future but for now, check out the version release notes I linked above to see the sample usage.