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

Profile object is empty #106

Open Svn-Sp opened 3 years ago

Svn-Sp commented 3 years ago

When I run from instascrape import * \n g = Profile("https://instagram.com/google/") \n g.__dict__ The output is: {'source': 'https://instagram.com/google/', 'url': None, 'html': None, 'soup': None, 'json_dict': None, 'flat_json_dict': None, 'scrape_timestamp': None}

stefco commented 3 years ago

You need to run g.scrape() first to actually pull the data, then it should work.

@chris-greening you can close this