An open source Instagram scraper
- Clone the repo, rename
.example.envto.env, and replace your IG username and password - Download ChromeDriver and add it to your PATH
- Run
pip install -r requirements.txtto install dependencies - Run
python main.pyto run the scraper
- The scraper logs into your Instagram account
- It navigates to the profile page of the user you want to scrape
- Get the first 12 images and download them to a folder called
assets - Each image has a unique ID, which can be used to navigate to the post page
- Finally, create a
data.jsonfile with info about the instagram account scraped