How westviewz/ottupdates works
OTT Update Bot runs a daily release-update workflow: it discovers Indian streaming releases through TMDB, applies confidence and duplicate filters, formats new items, and posts them to a Telegram channel while recording successful posts in MongoDB. The graph preserves the documented scheduling, provider normalization, artwork, and empty-update capabilities. The release-processing implementation was not sampled, so its internal links are omitted or marked unverified rather than inferred.
Main entry points: main.py Run orchestrator · mongodb.py MongoDB client · releases.py Release processing · tmdb.py TMDB client
Components 13
Run Control
- Run orchestrator
app/main.py - Configuration
app/config.py
Release Discovery
- Release processing
app/releases.py - TMDB client
app/tmdb.py - Provider normalization
app/providers.py
Post Publishing
- Message formatting
app/formatter.py - Poster URL resolver
app/poster.py - Telegram client
app/telegram_bot.py
Duplicate State
- MongoDB client
app/mongodb.py - MongoDB store
Other components
- Daily trigger
- TMDB API
- Telegram channel
Connections 14
- Daily trigger → Run orchestrator: starts
README.md - Run orchestrator → Configuration: loads
app/main.py - Run orchestrator → MongoDB client: initializes
app/main.py - Run orchestrator → Release processing: fetches releases
app/main.py - Release processing → TMDB client: uses
- TMDB client → TMDB API: queries
app/tmdb.py - Run orchestrator → MongoDB client: checks duplicates
README.md - MongoDB client → MongoDB store: reads and writes
app/mongodb.py - Run orchestrator → Message formatting: formats posts
app/main.py - Message formatting → Provider normalization: gets emoji
app/formatter.py - Run orchestrator → Poster URL resolver: resolves artwork
app/main.py - Run orchestrator → Telegram client: sends posts
app/main.py - Telegram client → Telegram channel: posts message
app/telegram_bot.py - Run orchestrator → MongoDB client: records success
README.md