Skip to content

mirsella/instagram-reels-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instagram-reels-scraper

Rust scraper that collects reels from configured Instagram accounts, ranks them, writes an .ods spreadsheet, and can send the result to Slack or Telegram.

How It Works

The app logs into Instagram, spawns several scraping workers, and opens each account's reels page. Instead of scraping only visible HTML, it watches Instagram network responses, parses reel metadata from API payloads, and builds a normalized list of reels.

The final report is ranked by follower-normalized performance, then written to an OpenDocument spreadsheet with separate tabs for today, yesterday, and last month.

Setup

cp .env.example .env

Fill .env with your Instagram credentials, account list, and optional Slack or Telegram settings.

Run

cargo run

For a local-only test that keeps the generated file in the current directory:

cargo run --features dryrun

Build

cargo build --release

Notes

  • dryrun keeps the generated file locally as ./reels.ods instead of uploading it.
  • Slack and Telegram are optional, but the environment file supports both.
  • The default scraping window is recent content unless you build/run with extra features.

About

scrap the latest reels stats on multiples accounts into a csv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors