Fully automated workflow that scrapes, enriches, and removes Instagram saved posts in a single run.
- Extract links from your chosen Instagram saved collection
- Add AI-generated titles, language tags, dates, author usernames, and hashtags
- Remove processed posts from Instagram saved (cleanup)
Example Output
After running the script on “interesting history” group:
- reason Japanese expelled all Westerners in 17th @the_smart_cookies_pod #en-US #2025-12-30 #interesting-history #japanesehistory #japan #historical #asia
- Americans worried about every country but their @lexlos3r #en-US #2025-12-20 #interesting-history #politics
- Lindener Pareto traça um paralelo histórico da @icl.noticias #pt-BR #2025-12-11 #interesting-history #noticias #icl #notícias
- Corporate America repeating familiar mistake @maxxrosenblum #en-US #2025-11-25 #interesting-history #economics #ai #business #casestudy
All posts are now ready for AI queries like “find portuguese reels about lula and elections”
Workflow
flowchart TD
A[Run script] --> B[Browser popup opens]
B --> C[Login to Instagram manually]
C --> D[Press Enter to continue]
D --> E[Select saved group 1-11]
E --> F[Enter number of posts to process]
F --> G[Processing loop]
G --> H[Scrape post data]
H --> I[AI enrichment]
I --> J[Untag from saved]
J --> K{More posts?}
K -->|Yes| G
K -->|No| L[Updated md]
Processing time: ~5-10 seconds per post
Todos
- Better caption extraction for posts without hashtags
- Handle reels with multiple languages (currently picks first detected)
- reels research prompt
- better organization? all in one file?
- Batch processing optimization (reduce per-post wait time)
- Option to skip untag step (scrape + enrich only)