How daxeel/instagram-algorithm works
This repository is a small Instagram account-discovery tool. Its main workflow accepts a username, extracts and ranks hashtags from recent posts, scans posts under popular tags, and returns usernames associated with those interests. The CLI prints results; api.py provides JSON data including profile pictures. The source shows these stages in two scripts, but does not establish a shared runtime between them.
Main entry points: insta-cli.py Tag scan and lookup · api.py Tag scan and lookup
Components 12
CLI workflow
- CLI entry
insta-cli.py - Profile setup
insta-cli.py - Hashtag extraction
insta-cli.py - Tag scan and lookup
insta-cli.py - Print usernames
insta-cli.py
JSON workflow
- JSON setup
api.py - Hashtag extraction
api.py - Tag scan and lookup
api.py - JSON results
api.py
Instagram services
- Instagram pages
- Instagram API
Other components
- User
Connections 16
- User → CLI entry: supplies username
- CLI entry → Profile setup: calls setup
- Profile setup → Instagram pages: fetches profile
- Profile setup → Tag scan and lookup: calls get_users
- Tag scan and lookup → Hashtag extraction: calls get_hashtags
- Hashtag extraction → Tag scan and lookup: returns ranked tags
- Tag scan and lookup → Instagram pages: fetches tag pages
- Tag scan and lookup → Instagram API: looks up users
- Tag scan and lookup → Print usernames: prints usernames
- JSON setup → Instagram pages: fetches profile
- JSON setup → Tag scan and lookup: calls get_users
- Tag scan and lookup → Hashtag extraction: calls get_hashtags
- Hashtag extraction → Tag scan and lookup: returns ranked tags
- Tag scan and lookup → Instagram pages: fetches tag pages
- Tag scan and lookup → Instagram API: looks up users
- Tag scan and lookup → JSON results: returns JSON