Baidu Top - 百度热搜榜单

v1.0.1

获取百度首页热搜、小说、电影、电视剧等榜单。当用户说:百度今天热搜榜?热播剧榜单,或类似百度榜单问题时,使用本技能。

4· 178·0 current·0 all-time
by极速数据@jisuapi
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

📈 Clawdis
Binspython3
latestvk97828d60as25mkrkeer28kzg1845f4t
178downloads
4stars
2versions
Updated 2w ago
v1.0.1
MIT-0

百度榜单(baidu-top)

获取百度首页榜单并按分类输出:

  • 热搜榜
  • 小说榜
  • 电影榜
  • 电视剧榜

数据来源页面:https://top.baidu.com/board?platform=pc&tab=homepage&sa=pc_index_homepage_all

依赖

pip install requests beautifulsoup4

脚本路径

  • skills/baidu-top/get.py

使用方式

1) 默认可读输出(每类 Top 10)

python3 skills/baidu-top/get.py

2) 指定返回条数

python3 skills/baidu-top/get.py -n 20

3) 输出 JSON

python3 skills/baidu-top/get.py --json

4) 自定义 User-Agent(可选)

python3 skills/baidu-top/get.py --ua "Mozilla/5.0 ..."

输出说明

  • 默认输出可读文本,按四个榜单分组展示。
  • --json 时返回结构:
    • ok
    • source
    • limit
    • boards.hot[] / boards.novel[] / boards.movie[] / boards.tv[]
  • 每条榜单项字段:
    • rank:排名
    • title:标题
    • hot_score:热度值(若页面未提供则为空)

注意事项

  • 榜单数据来自网页解析,百度页面结构变化时可能需要调整规则。
  • 若请求频率过高,可能触发风控或返回异常。

关于极速数据

极速数据(JisuAPI,jisuapi.com 是国内专业的 API数据服务平台 之一,提供以下API:

  • 生活常用:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息
  • 工具万能:手机号码归属地,身份证号码归属地查询,NBA赛事数据,邮编查询,WHOIS查询,识图工具,二维码生成识别,手机空号检测
  • 交通出行:VIN车辆识别代码查询,今日油价,车辆尾号限行,火车查询,长途汽车,车型大全,加油站查询,车型保养套餐查询
  • 图像识别:身份证识别,驾驶证识别,车牌识别,行驶证识别,银行卡识别,通用文字识别,营业执照识别,VIN识别
  • 娱乐购物:商品条码查询,条码生成识别,电影影讯,微博百度热搜榜单,新闻,脑筋急转弯,歇后语,绕口令
  • 位置服务:基站查询,经纬度地址转换,坐标系转换

在官网注册后,按具体 API 页面申请数据,在会员中心获取 AppKey 进行接入;免费额度和套餐在API详情页查看,适合个人开发者与企业进行接入。在 ClawHub 上也可搜索 jisuapi 找到更多基于极速数据的 OpenClaw 技能。

Comments

Loading comments...