从国内主流平台抓取实时热点,汇总成简报。
平台URL抓取方式微博热搜https://weibo.com/ajax/side/hotSearchJSON API百度热搜https://top.baidu.com/board?tab=realtime抓取 .c-single-text-ellipsis抖音热点https://www.douyin.com/hot抓取热榜列表知乎热榜https://www.zhihu.com/billboard抓取 .HotItem-content贴吧热议http://c.tieba.baidu.com/hottopic/browse/topicList?res_type=1JSON API
平台URL虎扑热帖https://bbs.hupu.com/topic-daily-hot豆瓣热门讨论https://www.douban.com/group/explore掘金热榜https://juejin.cn/hot/articles观察者热评https://user.guancha.cn/main/index?click=24-hot-list
平台URL36Kr热榜https://36kr.com/hot-list/catalog虎嗅热文https://www.huxiu.com/article/钛媒体热文https://www.tmtpost.com/hot雪球财经https://xueqiu.com/
平台URLB站热门视频https://www.bilibili.com/v/popular/rank/all电影票房榜https://piaofang.maoyan.com/dashboard豆瓣电影榜https://movie.douban.com/chart爱奇艺风云榜https://www.iqiyi.com/trending/
平台URLQQ音乐流行榜https://y.qq.com/n/yqq/toplist/4.html网易云飙升榜https://music.163.com/#/discover/toplist
powershell
# 微博热搜(JSON API,无需登录)
$wb = Invoke-WebRequest -Uri "https://weibo.com/ajax/side/hotSearch" -UseBasicParsing
$data = ($wb.Content | ConvertFrom-Json).data.realtime
$data | Select-Object -First 10 | ForEach-Object { "🔥 $($_.word) [$($_.num)]" }
powershell
# 百度实时热搜
$bd = Invoke-WebRequest -Uri "https://top.baidu.com/board?tab=realtime" -UseBasicParsing
# 解析 data-click 属性中的 title 字段
powershell
# 知乎热榜(需 User-Agent)
$headers = @{ "User-Agent" = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" }
$zh = Invoke-WebRequest -Uri "https://www.zhihu.com/billboard" -Headers $headers -UseBasicParsing
text
🔥 热点简报 · [日期 时间]
━━━ 微博热搜 TOP5 ━━━
1. [话题] 🔥[热度]
2. [话题]
...
━━━ 百度热搜 TOP5 ━━━
1. [关键词]
...
━━━ 知乎热榜 TOP5 ━━━
1. [问题标题]
...
📊 今日热点关键词:[词云摘要]
https://top.baidu.com/board?tab=realtime,HTML 中含结构化数据