Skip to content

ejrydhfs/Instagram-Comments-Scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Comments Scraper

Installation

  1. Clone: git clone git@github.com:AgiMaulana/Instagram-Comments-Scraper.git

    or git clone https://github.com/AgiMaulana/Instagram-Comments-Scraper.git

    or download the zip

  2. Create Virtual Environment (Recommended)

    • pip install virtualenv
    • virtualenv .venv
  3. Activate the virtual environment

    • source .venv/bin/activate
  4. Install dependencies

    • pip install -r requirements.txt
  5. Login

    • username.send_keys ('USER-NAME') change with your username
    • password.send_keys('PASSWORD') change with your password
      • We don't store your password
  6. Run

    • python scraper.py post-url total-load-more-click

    Change the URL with your post target.
    For example: python scraper.py https://www.instagram.com/p/CBHH2KjI6BW/ 5

  7. Deactivate the virtual environment

    • deactivate

License

This project is under the MIT License

About

Instagram comment scraper using python and selenium. Save the comments into excel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%