Skip to content

InstaScrape is a command-line Python tool that fetches all parent comments from any public Instagram Reel using your session cookies. It's fast, efficient, and now comes with a progress bar so you can see the scraping in action. Designed for researchers, analysts, or curious minds.

Notifications You must be signed in to change notification settings

kaifcodec/InstaScrape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstaScrape: Instagram Comment Scraper

Welcome to InstaScrape – a powerful Python script that allows you to scrape and download comments from Instagram Reels effortlessly! 📥💬

Ever wanted to grab all the comments on your favorite Instagram Reels, but found it tedious? Look no further! InstaScrape makes it quick, simple, and fun.


🚀 Features

  • Fetch Instagram Reels comments: Grab all the parent comments on any Instagram Reel.
  • Save to file: The comments are saved in a neat .txt file for your convenience.
  • Handle large comment sections: Supports pagination, ensuring you capture all comments, even when there are hundreds!
  • Customizable pagination: Fetch a custom number of comments per page (50 by default).
  • Interactive progress bar: Watch as the comments are scraped, one by one!

🛠️ Requirements

To run InstaScrape, you’ll need:

  • Python 3.x
  • Requests module: requests
  • tqdm module : tqdm
  • A set of cookies from your Instagram session.

📝 How to Use

  1. Clone the repo:
git clone https://github.com/kaifcodec/instascrape.git
cd instascrape
pip install -r requirements.txt
  1. After getting your respective cookies, add them in the cookie_example.py accordingly and rename it to cookie.py

  2. Run the script

python insta_scrape.py

About

InstaScrape is a command-line Python tool that fetches all parent comments from any public Instagram Reel using your session cookies. It's fast, efficient, and now comes with a progress bar so you can see the scraping in action. Designed for researchers, analysts, or curious minds.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages