How user23333/kaka works
This repository is a scheduled forum-panel scraper and daily digest generator. Its workflow fetches three forum data blocks, parses hottest threads, downloadable files, and latest posts, merges new entries into a date-scoped cache, then writes a Markdown digest to both the dated history and README. The README documents those three output sections. Source excerpts show the fetch and persistence flow; the browser-backed scraper and cache are its key internal layers. The shown code does not establish how scheduling is triggered or how the forum provides its panel blocks.
Main entry points: panel.py Panel scraper · main.py Daily runner · history Dated digest · README.md README digest
Components 13
Forum scraping
- Panel scraper
panel.py - Hottest threads
panel.py - Download listings
panel.py - Latest threads
panel.py
Digest generation
- Daily runner
main.py - Markdown renderer
main.py - Dated digest
files/history - README digest
README.md
Local state
- Cache merge
main.py - Daily cache
files/cache.json
Other components
- Job trigger
- Forum panel
- Chromium
Connections 13
- Job trigger → Daily runner: runs
- Daily runner → Panel scraper: calls fetch
main.py - Panel scraper → Chromium: navigates
panel.py - Chromium → Forum panel: loads panel
- Panel scraper → Hottest threads: parses
panel.py - Panel scraper → Download listings: parses
panel.py - Panel scraper → Latest threads: parses
panel.py - Panel scraper → Daily runner: returns blocks
main.py - Daily runner → Cache merge: merges entries
main.py - Cache merge → Daily cache: reads and writes
main.py - Daily runner → Markdown renderer: renders digest
main.py - Markdown renderer → Dated digest: writes
main.py - Markdown renderer → README digest: copies to
main.py