← 返回 Skills 市场
185
总下载
1
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install baidu-hot-real
功能描述
百度热搜榜实时抓取 - 直接从 top.baidu.com/board 获取真实热榜数据
使用说明 (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 | 分类(自动识别) |
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install baidu-hot-real - 安装完成后,直接呼叫该 Skill 的名称或使用
/baidu-hot-real触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
初始版本 - 支持百度热搜榜实时抓取
元数据
常见问题
Baidu Hot Real 是什么?
百度热搜榜实时抓取 - 直接从 top.baidu.com/board 获取真实热榜数据. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 185 次。
如何安装 Baidu Hot Real?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install baidu-hot-real」即可一键安装,无需额外配置。
Baidu Hot Real 是免费的吗?
是的,Baidu Hot Real 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Baidu Hot Real 支持哪些平台?
Baidu Hot Real 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Baidu Hot Real?
由 Titans(@iph0n3)开发并维护,当前版本 v1.3.0。
推荐 Skills