How coding-doctor-omar/reddrix works
Reddrix is an async Python Reddit scraper and HTTP client. Users configure a Reddrix instance, select subreddit/profile/post or keyword/domain search, and consume structured post and comment items through an async iterator. The main implementation is concentrated in reddrix/reddrix.py; the README documents capabilities beyond the sampled excerpts, so those stages are represented without assuming their internal call structure. Edges reflect README statements or visible source references; unsampled details are not expanded.
Main entry points: reddrix.py Reddrix API · cli.py Install CLI · exceptions.py Scraping exceptions · iwswuf.py iwswuf helper
Components 16
User API
- Reddrix API
reddrix/reddrix.py
Scraping Runtime
- Search modes
reddrix/reddrix.py - Session setup
reddrix/reddrix.py - Proxy rotation
reddrix/reddrix.py - Cookie recovery
reddrix/reddrix.py - HTTP fetching
reddrix/reddrix.py
Data Extraction
- Post extraction
reddrix/reddrix.py - Comment extraction
reddrix/reddrix.py - Item streaming
reddrix/reddrix.py
Runtime Support
- Install CLI
reddrix/cli.py - Scraping exceptions
reddrix/exceptions.py - iwswuf helper
reddrix/iwswuf.py
Other components
- Python user
- Camoufox browser
- Camoufox installer
Connections 19
- Python user → Reddrix API: configures
README.md - Reddrix API → Search modes: selects
README.md - Search modes → Reddit: queries
README.md - Reddrix API → Session setup: starts
README.md - Session setup → Proxy rotation: selects proxy
reddrix/reddrix.py - Session setup → Camoufox browser: initializes
reddrix/reddrix.py - Session setup → Reddit: requests login
reddrix/reddrix.py - Reddrix API → HTTP fetching: fetches data
README.md - HTTP fetching → Reddit: requests pages
reddrix/reddrix.py - HTTP fetching → Camoufox browser: fetches via browser
reddrix/reddrix.py - HTTP fetching → Cookie recovery: retries failures
reddrix/reddrix.py - Cookie recovery → Scraping exceptions: raises
reddrix/reddrix.py - HTTP fetching → Post extraction: returns data
reddrix/reddrix.py - Post extraction → Comment extraction: extracts threads
reddrix/reddrix.py - Comment extraction → Item streaming: enqueues items
reddrix/reddrix.py - Reddrix API → Item streaming: streams items
README.md - Python user → Install CLI: runs install
README.md - Install CLI → Camoufox installer: installs binary
reddrix/cli.py - Reddrix API → iwswuf helper: imports helper
reddrix/reddrix.py