Scrape Instagram with snscrape

Viewed 507
1 Answers

For hashtags, it's as easy as:

sninstagram.InstagramHashtagScraper(query).get_items()

However, at the time of writing, there is currently an issue with scrapping from Instagram, this issue is due to changes on Instagram's side. They recently overhauled their site a bit. The snscrape library has not yet been modified to adapt to the changes. You can track the issue here: https://github.com/JustAnotherArchivist/snscrape/issues/520

Related