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
625 stars 109 forks source link

TypeError: 'NoneType' object is not subscriptable on location scrape #148

Open robin-price opened 2 years ago

robin-price commented 2 years ago

I get a an TypeError: 'NoneType' object is not subscriptable when I try to scrape a location following the tutorial on your blog

url = 'https://www.instagram.com/explore/locations/73347620/dublin-ireland/' dublin = Location(url) dublin.scrape(headers=headers)

then when I try to do anything with get_recent_posts() I get an error