← Back to Skills Marketplace
185
Downloads
1
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install baidu-hot-real
Description
百度热搜榜实时抓取 - 直接从 top.baidu.com/board 获取真实热榜数据
README (SKILL.md)
百度热搜榜 - 真实数据版
技能概述
此技能直接从百度热搜官网 (https://top.baidu.com/board) 抓取实时热榜数据,不使用模拟数据。
核心功能
| 功能 | 说明 |
|---|---|
| 实时热搜 | 获取当前百度热搜榜 Top 50 |
| 热点标记 | 识别"热"、"新"等标记 |
| 分类标签 | 自动识别热点分类 |
| 多榜单支持 | 热搜/小说/电影/电视剧 |
使用方式
获取热搜榜
# 获取 Top 10
python3 scripts/baidu_real.py 10
# 获取 Top 50(默认)
python3 scripts/baidu_real.py
# 获取完整榜单
python3 scripts/baidu_real.py all
输出格式
🔥 百度热搜榜 Top 10 (2026-03-20 11:48)
1. "国家队"出手 房租最高直降 50% 🔥
2. "我熟这片草原 让我上!" 🔥
3. 春分"分"的是什么?
4. 印度新任驻华大使取了中国名字 🆕
5. 女儿弥留之际妈妈偷偷来看捂嘴忍泪 🆕
...
数据来源
- 唯一数据源:https://top.baidu.com/board
- 更新频率:实时(百度官方更新)
- 数据真实性:✅ 100% 真实
与 baidu-hot-cn 的区别
| 特性 | baidu-hot-cn | baidu-hot-real |
|---|---|---|
| 数据源 | 百度 API(可能不可用) | 百度热搜官网 |
| 数据真实性 | ⚠️ API 不可用时返回模拟数据 | ✅ 始终真实 |
| 依赖 | Python requests | Python + web_fetch |
| 推荐度 | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
注意事项
- 需要网络连接访问百度
- 访问频繁可能被限流(建议间隔≥1 分钟)
- 数据格式可能随百度官网更新而变化
输出字段
| 字段 | 类型 | 说明 |
|---|---|---|
| rank | int | 排名(1-50) |
| title | string | 热点标题 |
| mark | string | 标记(热/新/无) |
| link | string | 搜索链接 |
| category | string | 分类(自动识别) |
Usage Guidance
This skill's code matches its stated purpose (scraping and parsing https://top.baidu.com). Before installing or running it: 1) Verify you have Python 3 and the openclaw web_fetch tool available — the skill does not declare these but requires them at runtime. 2) Inspect or run the scripts in a sandbox/network-monitored environment the first time to confirm only top.baidu.com is contacted. 3) Note minor metadata inconsistencies (author strings differ between files and package.json lists 'python3' as an npm dependency, which is unusual). 4) If you will allow autonomous agent invocation, consider the usual caution: an agent with network access can fetch arbitrary pages if instructions/tools change — ensure you trust the skill source or run it with restricted network access.
Capability Analysis
Type: OpenClaw Skill
Name: baidu-hot-real
Version: 1.3.0
The baidu-hot-real skill bundle is a legitimate tool for scraping real-time hot search data from Baidu. The code demonstrates high-quality security practices, including input validation in scripts/fetch.sh, URL whitelisting to prevent SSRF in scripts/baidu_real.py, and secure temporary file management using mktemp and trap. No evidence of data exfiltration, malicious execution, or prompt injection was found across the scripts or documentation.
Capability Assessment
Purpose & Capability
The skill claims to fetch and parse Baidu hot lists, and the bundled scripts do exactly that. However the package/registry metadata lists no required binaries while the runtime clearly invokes python3 and/or the 'openclaw web_fetch' tool. A legitimate deploy would normally declare python3 and the web_fetch tool as required. This mismatch is an incoherence to be aware of.
Instruction Scope
SKILL.md and scripts restrict network access to top.baidu.com and the code parses only HTML input; there are no reads of ~/.ssh, .env, or other sensitive files. Still, the declared allowed-tools (web_fetch, Bash) omit python3 even though the instructions show running python3 scripts; baidu_fetch.py also expects HTML on stdin. The instructions rely on external tooling not declared in requirements.
Install Mechanism
No install spec (instruction-only) — lowest install risk and nothing is downloaded at install time. The repository includes local scripts (Python and Bash) rather than fetching remote code. This is generally low risk, but running the scripts requires local tools (python3, openclaw web_fetch) which are not declared.
Credentials
The skill does not request environment variables, credentials, or config paths. The scripts do not appear to read or transmit secrets and they only target the hardcoded top.baidu.com domain.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. It does write a temporary file under /tmp during execution (cleaned up with trap), which is proportional to its purpose.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install baidu-hot-real - After installation, invoke the skill by name or use
/baidu-hot-real - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.3.0
Version 1.3.0 of baidu-hot-real removes fallback to simulated data and further simplifies data flow.
- Now exclusively fetches real-time data directly from top.baidu.com/board (no simulated data fallback).
- Updated documentation to reflect removal of multi-tier downgrade strategy.
- Clarified dependency requirements and tool usage.
- Added SECURITY.md file.
v1.2.0
v1.2: 修复 SSR 数据解析,使用 curl/requests 获取实时热搜数据
v1.0.0
初始版本 - 支持百度热搜榜实时抓取
Metadata
Frequently Asked Questions
What is Baidu Hot Real?
百度热搜榜实时抓取 - 直接从 top.baidu.com/board 获取真实热榜数据. It is an AI Agent Skill for Claude Code / OpenClaw, with 185 downloads so far.
How do I install Baidu Hot Real?
Run "/install baidu-hot-real" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Baidu Hot Real free?
Yes, Baidu Hot Real is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Baidu Hot Real support?
Baidu Hot Real is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Baidu Hot Real?
It is built and maintained by Titans (@iph0n3); the current version is v1.3.0.
More Skills