How alimbrrrr/krsu_news_bot works
KRSU News Bot is a small scraper that fetches the university homepage, parses news cards, compares their links with saved entries, and persists only new items to JSON. The documented Telegram delivery and keyword subscriptions are plans, not implemented capabilities. Components share main.py because the runtime is a single-file script; news.json is a runtime data file not present in the repository tree.
Main entry points: main.py Run workflow
Components 11
Other components
- Operator
- Run workflow
main.py - Fetch news
main.py - Parse cards
main.py - Normalize dates
main.py - Find new items
main.py - Load saved news
main.py - Save new news
main.py - KRSU website
- News JSON
- Console
Connections 11
- Operator → Run workflow: runs
README.md - Run workflow → Fetch news: fetches
main.py - Run workflow → Load saved news: loads
main.py - Run workflow → Find new items: compares
main.py - Run workflow → Save new news: saves
main.py - Run workflow → Console: prints count
main.py - Fetch news → KRSU website: requests page
main.py - Fetch news → Parse cards: parses cards
main.py - Parse cards → Normalize dates: normalizes date
main.py - Load saved news → News JSON: reads
main.py - Save new news → News JSON: writes
main.py