Skip to content

Hazem-dh/Instagram-scraper

Repository files navigation

Instagram-scraper

About the project

This is a scraper that automatically scraps posts data (image, text, comments, likes) of a given hashtag with Selenium and store them in a MongoDB database.

Installation

  1. Download and install MongoDB
  2. Either clone this repo or download all these files by going to Code -> Download ZIP.
  3. Open the terminal inside project folder and install the required packages
    pip install -r requirements.txt

Usage

  1. Launch your MongoDB server
  2. Launch chromedriver.exe
  3. Run InstagramScraper.py with the desired parameters
    InstagramScraper [database name][hashtag][number of posts]
  4. A chrome window will automatically open, sit back and enjoy watching the posts being scrapped

License

MIT

About

Instagram API to scrap posts of a given hashtag

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages