How adriancheong97/nicole_instascraper_project works
This is a Streamlit Instagram Stories and Reels scraper with an OCR search feature. Users authenticate (including optional 2FA), choose accounts from CSV or manual input, download stories or selected reels, then optionally scan downloaded videos for visible text and search detections. The workflow is implemented in app.py; excerpts confirm selected function calls and OCR stages, but omitted UI and helper code limit evidence for some connections.
Main entry points: app.py Streamlit App
Components 15
Login
- Streamlit App
app.py - Session State
app.py
Account Selection
- Account Targets
app.py - CSV Upload
app.py
Instagram Downloads
- Story Downloads
app.py - Reel Selection
app.py - Reel Downloads
app.py - Downloaded Media
app.py
Text Analysis
- Frame Sampling
app.py - OCR Detection
app.py - OCR Index
app.py - Text Search
app.py - Search Results
app.py
Other components
- User
Connections 20
- User → Streamlit App: uses
app.py - Streamlit App → Session State: updates
app.py - Streamlit App → Account Targets: collects
app.py - CSV Upload → Account Targets: provides accounts
app.py - Account Targets → Story Downloads: selects accounts
app.py - Account Targets → Reel Downloads: selects accounts
app.py - Story Downloads → Instagram: requests stories
- Reel Selection → Instagram: fetches posts
app.py - Reel Downloads → Reel Selection: downloads matches
app.py - Reel Downloads → Instagram: downloads media
app.py - Story Downloads → Downloaded Media: writes media
app.py - Reel Downloads → Downloaded Media: writes media
app.py - Downloaded Media → Frame Sampling: supplies videos
app.py - Frame Sampling → OCR Detection: provides frames
app.py - OCR Detection → OCR Index: saves detections
app.py - OCR Index → Text Search: provides detections
app.py - Text Search → Search Results: returns matches
app.py - Streamlit App → Story Downloads: offers tab
app.py - Streamlit App → Reel Selection: offers tab
app.py - Streamlit App → OCR Detection: offers tab
app.py