How aryabandi/insta-downloader works
This small Flask app presents a page where a user can submit an Instagram post URL, then retrieves the post and downloads its media through Instaloader before returning a file attachment. The download route also scans the downloads directory for a matching media file. The template and downloaded files are shown as distinct parts of the workflow; only app.py was excerpted, so no template internals are inferred.
Main entry points: app.py Flask app · downloads Downloaded media · index.html Home page
Components 5
Other components
- User
- Flask app
app.py - Home page
templates/index.html - Downloaded media
downloads
Connections 8
- User → Flask app: requests page
app.py - Flask app → Home page: renders
app.py - User → Flask app: submits URL
app.py - Flask app → Instagram: fetches post
app.py - Flask app → Instagram: downloads media
app.py - Instagram → Downloaded media: writes media
- Flask app → Downloaded media: scans files
app.py - Flask app → User: sends attachment
app.py