Analyze Weibo trending topics with AI clustering, trend inflection detection, and content angle generation.
Fetch trending — call Weibo open trending API (or scrape public real-time 热搜榜). Return top 50 entries with title, heat index, and trend arrow (↑→↓).
Parse entries — extract per entry: rank, title, heat value (e.g. 热搜指数), trend direction, topic tag id, any attached media summary.
Cluster topics — use LLM + keyword cosine similarity to group 50 topics into thematic domains:
Detect inflection — compare current vs previous snapshot heat delta:
Content angle — for each 🚀 topic, generate:
Filter by subscription — if user provides subscribe domains (e.g. tech, industry), return only matching clusters.
Aggregate — compute per-topic duration, peak heat, cross-topic relationship map (top 3 related topics).
Report — output structured daily report (Markdown/JSON):
text
weibo-hot analyze --date 2026-06-13 --subscribe tech,industry
weibo-hot analyze --date 2026-06-13 --format json
weibo-hot monitor --topic weibo --interval 30m --duration 6h
weibo-hot angles --topic "小米汽车发布会" --industry auto