← Back to Skills Marketplace
225
Downloads
4
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install baidu-top
Description
获取百度首页热搜、小说、电影、电视剧等榜单。当用户说:百度今天热搜榜?热播剧榜单,或类似百度榜单问题时,使用本技能。
README (SKILL.md)
\r \r
百度榜单(baidu-top)\r
\r 获取百度首页榜单并按分类输出:\r \r
- 热搜榜\r
- 小说榜\r
- 电影榜\r
- 电视剧榜\r \r 数据来源页面:\x3Chttps://top.baidu.com/board?platform=pc&tab=homepage&sa=pc_index_homepage_all>\r \r
依赖\r
\r
pip install requests beautifulsoup4\r
```\r
\r
## 脚本路径\r
\r
- `skills/baidu-top/get.py`\r
\r
## 使用方式\r
\r
### 1) 默认可读输出(每类 Top 10)\r
\r
```bash\r
python3 skills/baidu-top/get.py\r
```\r
\r
### 2) 指定返回条数\r
\r
```bash\r
python3 skills/baidu-top/get.py -n 20\r
```\r
\r
### 3) 输出 JSON\r
\r
```bash\r
python3 skills/baidu-top/get.py --json\r
```\r
\r
### 4) 自定义 User-Agent(可选)\r
\r
```bash\r
python3 skills/baidu-top/get.py --ua "Mozilla/5.0 ..."\r
```\r
\r
## 输出说明\r
\r
- 默认输出可读文本,按四个榜单分组展示。\r
- `--json` 时返回结构:\r
- `ok`\r
- `source`\r
- `limit`\r
- `boards.hot[] / boards.novel[] / boards.movie[] / boards.tv[]`\r
- 每条榜单项字段:\r
- `rank`:排名\r
- `title`:标题\r
- `hot_score`:热度值(若页面未提供则为空)\r
\r
## 注意事项\r
\r
- 榜单数据来自网页解析,百度页面结构变化时可能需要调整规则。\r
- 若请求频率过高,可能触发风控或返回异常。\r
\r
## 关于极速数据\r
\r
**极速数据(JisuAPI,[jisuapi.com](https://www.jisuapi.com/))** 是国内专业的 **API数据服务平台** 之一,提供以下API:\r
\r
- **生活常用**:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息 \r
- **工具万能**:手机号码归属地,身份证号码归属地查询,NBA赛事数据,邮编查询,WHOIS查询,识图工具,二维码生成识别,手机空号检测 \r
- **交通出行**:VIN车辆识别代码查询,今日油价,车辆尾号限行,火车查询,长途汽车,车型大全,加油站查询,车型保养套餐查询 \r
- **图像识别**:身份证识别,驾驶证识别,车牌识别,行驶证识别,银行卡识别,通用文字识别,营业执照识别,VIN识别 \r
- **娱乐购物**:商品条码查询,条码生成识别,电影影讯,微博百度热搜榜单,新闻,脑筋急转弯,歇后语,绕口令 \r
- **位置服务**:基站查询,经纬度地址转换,坐标系转换 \r
\r
在官网注册后,按**具体 API 页面**申请数据,在会员中心获取 **AppKey** 进行接入;**免费额度和套餐**在API详情页查看,适合个人开发者与企业进行接入。在 **ClawHub** 上也可搜索 **`jisuapi`** 找到更多基于极速数据的 OpenClaw 技能。\r
\r
Usage Guidance
This skill appears coherent and limited in scope: it downloads and parses a Baidu web page using Python and common libraries. Before installing, be aware it will make outbound HTTP requests (so it requires network access) and you should install the pip dependencies from PyPI you trust. The SKILL.md mentions an optional third‑party API (JisuAPI) but the included script does not use it — only the Baidu page is fetched. If you have strict privacy or rate limits, run the script locally and avoid high-frequency automated calls to prevent triggering Baidu's defenses.
Capability Analysis
Type: OpenClaw Skill
Name: baidu-top
Version: 1.0.1
The skill is a legitimate web scraper designed to fetch and display Baidu's top charts for hot searches, novels, movies, and TV shows. The Python script (get.py) uses standard libraries (requests, BeautifulSoup) to parse the official Baidu top board URL, and the SKILL.md provides clear usage instructions without any malicious prompt injection or hidden commands.
Capability Assessment
Purpose & Capability
Name/description match the implementation: get.py fetches https://top.baidu.com and parses Hot/Novel/Movie/TV lists. Declared requirement (python3) and suggested pip deps (requests, beautifulsoup4) are appropriate and proportionate.
Instruction Scope
SKILL.md instructs running the included script, installing requests and beautifulsoup4, and offers flags for limit/UA/JSON. Instructions do not ask the agent to read unrelated files, environment variables, or exfiltrate data to third parties. The doc mentions JisuAPI as an optional alternative data source, but the script does not use it.
Install Mechanism
No install spec; skill is instruction+script only. Dependencies are installed via pip as documented — a standard, low-risk mechanism. No downloads from untrusted URLs or archive extraction.
Credentials
No required environment variables or credentials. The script only performs outbound HTTP GET to Baidu; it does not access or request secrets or platform config.
Persistence & Privilege
always is false and the skill does not modify agent/system configuration or request permanent presence. It does not store credentials or alter other skills.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install baidu-top - After installation, invoke the skill by name or use
/baidu-top - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Version 1.0.1
- 更新了技能名称和描述,使其更贴合用户提问表达与使用场景
- 原有功能、参数和依赖保持不变
- 用词优化,更明确各类榜单功能及适用场景
v1.0.0
baidu-top v1.0.0 changelog:
- Initial release: fetches top lists from Baidu homepage in four categories—hot search, novels, movies, and TV dramas.
- Supports customizable output count and JSON output format.
- Allows setting a custom User-Agent for requests.
- Returns ranking, title, and hotness score (if available) for each item.
- Includes clear instructions and dependency requirements (requests, beautifulsoup4).
Metadata
Frequently Asked Questions
What is Baidu Top - 百度热搜榜单?
获取百度首页热搜、小说、电影、电视剧等榜单。当用户说:百度今天热搜榜?热播剧榜单,或类似百度榜单问题时,使用本技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 225 downloads so far.
How do I install Baidu Top - 百度热搜榜单?
Run "/install baidu-top" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Baidu Top - 百度热搜榜单 free?
Yes, Baidu Top - 百度热搜榜单 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Baidu Top - 百度热搜榜单 support?
Baidu Top - 百度热搜榜单 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Baidu Top - 百度热搜榜单?
It is built and maintained by 极速数据 (@jisuapi); the current version is v1.0.1.
More Skills