百度热榜监控 | Baidu Hot Monitor
百度热榜监控 | Baidu Hot Topics Monitor. 获取百度热搜榜、搜索趋势、关键词热度 | Get Baidu trending searches, trends, keyword popularity. 触发词:百度、热搜、baidu.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 1 · 313 · 1 current installs · 1 all-time installs
bynoah@noah-1106
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description (Baidu hot topics monitor) match the actual behavior: scripts fetch trending data from top.baidu.com, parse it, save to an SQLite DB, query it, and render HTML. Required binary (python3) is appropriate and no unrelated credentials or tools are requested.
Instruction Scope
SKILL.md and scripts explicitly instruct the agent to initialize a local SQLite DB, run the fetch/save script, query, and generate an HTML report. This is expected, but note the skill writes files under the repository's data/ directory (data/baidu.db and generated data/index.html) and performs outbound HTTP requests to Baidu.
Install Mechanism
No install spec is provided (instruction-only + included scripts). No network downloads or archive extraction are performed by an installer. The runtime uses only standard Python stdlib modules and local scripts.
Credentials
The skill requests no environment variables or credentials. It only requires filesystem write access where it is run (to create data/ and the SQLite DB) and outbound network access to top.baidu.com — both are proportional to its stated purpose.
Persistence & Privilege
The skill is not marked always:true and does not modify other skills or global agent settings. It persists data only to its own data/ directory. Autonomous invocation is allowed by default but is not combined with broad privileges or sensitive credential access.
Assessment
This skill appears to do what it says: it fetches Baidu hot topics, stores them locally in data/baidu.db, and can generate data/index.html. Before installing, consider: (1) it will write files in the skill directory (data/baidu.db and generated HTML) — run in a sandbox or location you control if you care about filesystem cleanliness; (2) it makes outbound requests to https://top.baidu.com (expected) so ensure outbound network access is acceptable; (3) review/run the included scripts locally to confirm behavior and to control scheduling/rate-limits; (4) no secrets/credentials are required, which reduces risk; and (5) if you will expose the generated HTML or DB to others, check for any privacy/legal considerations for collected content.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🔍 Clawdis
Binspython3
SKILL.md
百度热榜监控 | Baidu Hot Topics Monitor
百度搜索热搜榜实时监控,支持搜索趋势分析、关键词热度追踪。 Real-time monitoring of Baidu search hot topics, supporting trend analysis and keyword popularity tracking.
功能 | Features
热榜获取 | Hot List Retrieval
- 实时热搜 / Real-time Hot - 获取当前百度热搜榜 Top 30 | Get current Baidu hot search Top 30
- 搜索指数 / Search Index - 显示每条热搜的搜索量 | Show search volume for each hot topic
- 分类标签 / Category Tags - 娱乐、科技、社会、体育等 | Entertainment, Tech, Society, Sports, etc.
趋势分析 | Trend Analysis
- 上升最快 / Rising Fastest - 搜索量上升最快的关键词 | Keywords with fastest rising search volume
- 地域分布 / Regional Distribution - 不同地区的搜索热度 | Search heat by region
- 时间趋势 / Time Trends - 24小时搜索趋势 | 24-hour search trends
关键词监控 | Keyword Monitoring
- 关键词追踪 / Keyword Tracking - 监控特定关键词热度 | Monitor specific keyword popularity
- 竞品监控 / Competitor Monitoring - 监控竞品相关搜索 | Monitor competitor-related searches
- 行业趋势 / Industry Trends - 行业关键词热度变化 | Industry keyword heat changes
使用方式 | 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
- 百度热搜榜 API(如可用)| Baidu Hot Search API (if available)
- 模拟数据(API 不可用时)| Simulated data (when API unavailable)
- 历史数据对比 | Historical data comparison
热榜列表 | Hot List
🔍 百度热搜榜 Top 10
1. [娱乐] 春节档电影票房 - 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.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
新增脚本说明 | 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,本技能是根据作者原版技能更新和修改完成。
Files
8 totalSelect a file
Select a file to preview.
Comments
Loading comments…
