百度热榜监控 | Baidu Hot Monitor
by @noah-1106
百度热榜监控 | Baidu Hot Topics Monitor. 获取百度热搜榜、搜索趋势、关键词热度 | Get Baidu trending searches, trends, keyword popularity. 触发词:百度、热搜、baidu.
clawhub install baidu-hot-monitor📖 About This Skill
name: baidu-hot-cn description: "百度热榜监控 | Baidu Hot Topics Monitor. 获取百度热搜榜、搜索趋势、关键词热度 | Get Baidu trending searches, trends, keyword popularity. 触发词:百度、热搜、baidu." metadata: openclaw: emoji: "🔍" category: "search" tags: ["baidu", "hot", "trending", "china", "search-engine"] requires: bins: ["python3"]
百度热榜监控 | Baidu Hot Topics Monitor
百度搜索热搜榜实时监控,支持搜索趋势分析、关键词热度追踪。 Real-time monitoring of Baidu search hot topics, supporting trend analysis and keyword popularity tracking.
功能 | Features
热榜获取 | Hot List Retrieval
趋势分析 | Trend Analysis
关键词监控 | Keyword Monitoring
使用方式 | Usage
获取热搜榜 | Get Hot Search List
获取百度热搜榜前 10
返回 / Returns:
[
{"rank": 1, "title": "春节档电影票房", "search_count": 1234567, "category": "娱乐"},
{"rank": 2, "title": "AI技术突破", "search_count": 987654, "category": "科技"},
{"rank": 3, "title": "春运最新消息", "search_count": 876543, "category": "社会"}
]
关键词搜索 | Keyword Search
查询 "AI" 在百度的搜索热度
趋势分析 | Trend Analysis
分析百度热搜今天的科技类话题
数据来源 | Data Sources
热榜列表 | Hot List
🔍 百度热搜榜 Top 101. [娱乐] 春节档电影票房 - 123.5万搜索
2. [科技] AI技术突破 - 98.8万搜索
3. [社会] 春运最新消息 - 87.7万搜索
...
趋势报告 | Trend Report
📊 百度热搜趋势分析今日热点分类:
娱乐:35%
科技:28%
社会:22%
体育:15% 上升最快:AI技术突破 (+250%)
数据采集与持久化 | Data Collection & Persistence
新增数据库存储和可视化功能,用于调研数据收集。 New database storage and visualization features for research data collection.
快速开始 | Quick Start
# 1. 初始化数据库(首次使用)/ Initialize database (first time)
cd scripts
python3 init_db.py2. 采集数据并保存到数据库 / Collect data and save to database
python3 save_to_db.py 503. 查询数据 / Query data
python3 query.py today4. 生成 HTML 报告 / Generate HTML report
python3 generate_html.py
open ../data/index.html
新增脚本说明 | New Scripts
| 脚本 / 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 |
使用示例 | Usage Examples
# 采集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 Storage Location
data/
├── baidu.db # SQLite 数据库 / Database
└── index.html # HTML 报告(生成后)/ HTML report (generated)
感谢原作者开源原技能baidu-hot-cn,本技能是根据作者原版技能更新和修改完成。