How mohammadhassan-panahi/instagram-post-scraper works
InstaLink Extractor is a single-script desktop utility: the user supplies an Instagram profile URL, the script opens it in Chrome, supports manual login, handles pop-ups, repeatedly scrolls and extracts unique post/reel links, then writes them to the Desktop. The README documents these capabilities; the sampled excerpts show the principal calls and data flow, though omitted portions of main.py were not inspected.
Main entry points: main.py Profile extractor
Components 9
Extraction workflow
- URL prompt
main.py - Profile extractor
main.py - Popup handling
main.py - Link collection
main.py - Desktop writer
main.py
Browser runtime
- Chrome browser
main.py
Other components
- User
- Instagram profile
- Desktop file
Connections 10
- User → URL prompt: provides URL
main.py - URL prompt → Profile extractor: calls
main.py - Profile extractor → Chrome browser: launches
main.py - Chrome browser → Instagram profile: opens profile
main.py - User → Chrome browser: logs in manually
README.md - Profile extractor → Popup handling: handles dialogs
main.py - Profile extractor → Link collection: collects links
main.py - Link collection → Chrome browser: reads anchors
main.py - Profile extractor → Desktop writer: writes results
main.py - Desktop writer → Desktop file: saves links
main.py