Instagram scraper

I need to build a scraper for instagram which provides me with: name, number of followers within a certain parameter, geographical location filtered for only certain places. How would I go about doing this?

Posted over 3 years ago by vicky kulic
Posted over 3 years ago by Alex Yang

I'm no expert with Instagram, but what information you can grab should be covered in their API documentation. Here's the link:
https://www.instagram.com/developer/

From a quick skim, it looks like your main limitation is that "you cannot use the API Platform to crawl or store users' media without their express consent." User names, # of followers, and location info should be allowed.

Since Instagram has an API, you likely won't need to scrape (or won't be allowed to scrape) certain info. From looking at their robots.txt file, it looks like you aren't allowed to scrape certain pages of their site. Here's the link:
https://www.instagram.com/robots.txt

Hope that helps!

1