How justjavac/weibo-trending-hot-search works
This repository is a scheduled Weibo hot-search scraper and public archive. The documented workflow runs hourly: fetch and parse Weibo’s trending page, merge and deduplicate results for the day, then update the raw JSON snapshot, the README’s current list, and a dated Markdown archive. The source excerpts show the scraper and formatting helpers; the hourly schedule is documented in the README. The exact scheduler implementation is not shown.
Main entry points: main.ts Scraper · utils.ts Merge and render · raw Daily raw data · README.md Current trends
Components 7
Other components
- Hourly trigger
- Weibo trends
- Scraper
main.ts - Merge and render
utils.ts - Daily raw data
raw - Current trends
README.md - Daily archives
archives
Connections 8
- Hourly trigger → Scraper: starts hourly
README.md - Scraper → Weibo trends: fetches trends
main.ts - Scraper → Merge and render: merges and renders
main.ts - Scraper → Daily raw data: reads prior snapshot
main.ts - Scraper → Daily raw data: writes snapshot
main.ts - Scraper → Current trends: updates list
main.ts - Scraper → Daily archives: writes dated archive
main.ts - Merge and render → Current trends: reads template
utils.ts