Instagram Comments Scraper
Install dependencies
pip install -r requirements.txt
Install Chrome Web Driver
Download latest Chrome web driver from https://sites.google.com/a/chromium.org/chromedriver/downloads
Or if you on Linux/Ubuntu
wget https://chromedriver.storage.googleapis.com/2.43/chromedriver_linux64.zip
Extract the binary then move to /usr/bin/
sudo mv chromedriver /usr/bin/chromedriver
sudo chown root:root /usr/bin/chromedriver
sudo chmod +x /usr/bin/chromedriver
Run
python scraper.py post-url total-load-more-click
Change the URL with your post target
Example :
python scraper.py https://www.instagram.com/p/BqUfulwH6O4/ 5
License
This project is under the MIT License