Install
openclaw skills install baidu-hot-monitor百度热榜监控 | Baidu Hot Topics Monitor. 获取百度热搜榜、搜索趋势、关键词热度 | Get Baidu trending searches, trends, keyword popularity. 触发词:百度、热搜、baidu.
openclaw skills install baidu-hot-monitor百度搜索热搜榜实时监控,支持搜索趋势分析、关键词热度追踪。 Real-time monitoring of Baidu search hot topics, supporting trend analysis and keyword popularity tracking.
获取百度热搜榜前 10
返回 / Returns:
[
{"rank": 1, "title": "春节档电影票房", "search_count": 1234567, "category": "娱乐"},
{"rank": 2, "title": "AI技术突破", "search_count": 987654, "category": "科技"},
{"rank": 3, "title": "春运最新消息", "search_count": 876543, "category": "社会"}
]
查询 "AI" 在百度的搜索热度
分析百度热搜今天的科技类话题
🔍 百度热搜榜 Top 10
1. [娱乐] 春节档电影票房 - 123.5万搜索
2. [科技] AI技术突破 - 98.8万搜索
3. [社会] 春运最新消息 - 87.7万搜索
...
📊 百度热搜趋势分析
今日热点分类:
- 娱乐:35%
- 科技:28%
- 社会:22%
- 体育:15%
上升最快:AI技术突破 (+250%)
新增数据库存储和可视化功能,用于调研数据收集。 New database storage and visualization features for research data collection.
# 1. 初始化数据库(首次使用)/ Initialize database (first time)
cd scripts
python3 init_db.py
# 2. 采集数据并保存到数据库 / Collect data and save to database
python3 save_to_db.py 50
# 3. 查询数据 / Query data
python3 query.py today
# 4. 生成 HTML 报告 / Generate HTML report
python3 generate_html.py
open ../data/index.html
| 脚本 / Script | 功能 / Function |
|---|---|
init_db.py | 初始化 SQLite 数据库 / Initialize SQLite database |
save_to_db.py | 采集热搜并保存到数据库 / Collect hot search and save to DB |
query.py | 查询数据库内容 / Query database content |
generate_html.py | 生成可视化 HTML 报告 / Generate visual HTML report |
# 采集50条热搜 / Collect 50 hot items
cd scripts
python3 save_to_db.py 50
# 查看今天的热搜 / View today's hot items
python3 query.py today
# 查看分类统计 / View category statistics
python3 query.py categories
# 查看统计 / View statistics
python3 query.py stats 7
data/
├── baidu.db # SQLite 数据库 / Database
└── index.html # HTML 报告(生成后)/ HTML report (generated)
感谢原作者开源原技能baidu-hot-cn,本技能是根据作者原版技能更新和修改完成。