frainmaster / ig_scraper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IG Posts Scraper

Scrape first 12 posts of a public Instagram account; be it images, videos, IGTV or Carousel.

Downloads all posts to a folder named post in a file named after the account owner. View the sample output in the img folder which uses Ryan Reynolds' account.

Start with installing the packages needed as listed in req.txt file.

pip install -r req.txt

You will also need a ChromeDriver tool, which is included in the folder ./chromedriver/. Just be sure that the driver corresponds to your Google Chrome's version, otherwise it won't work.

The given ChromeDriver (chromedriver.exe) is for Google Chrome version 86, 87 and 90.

Other browsers have their own driver.

Happy scraping!

About


Languages

Language:Python 100.0%