← Back to Skills Marketplace
241
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bilibili-hot
Description
自动抓取Bilibili全站排行榜视频数据,包含详细的视频统计信息
README (SKILL.md)
Skill: Bilibili热搜抓取
自动抓取Bilibili全站排行榜视频数据,包含详细的视频统计信息。
触发方式
B站热搜
bilibili hot
获取B站热榜
B站热门
b站排行榜
能力
- 使用Bilibili官方API获取全站排行榜
- 抓取Top 50热门视频的完整信息
- 提取视频标题、UP主、播放量、弹幕数等详细数据
- 返回结构化视频数据(JSON格式)
- 生成易读的文本格式输出
输出格式
[
{
"rank": 1,
"title": "⚡对 对 子 战 神⚡",
"up": "洛温阿特金森",
"play": "863.0万播放",
"danmu": "4.0万弹幕",
"like": "86.1万点赞",
"coin": "22.2万投币",
"favorite": "26.9万收藏",
"score": 0,
"link": "https://www.bilibili.com/video/BV1bXAJz8EYC",
"type": "全站榜"
}
]
控制台输出示例:
📊 Bilibili全站排行榜 (Top 50):
================================================================================
1. ⚡对 对 子 战 神⚡
👤 UP主: 洛温阿特金森
📺 863.0万播放
💬 4.0万弹幕
👍 86.1万点赞
🪙 22.2万投币
⭐ 26.9万收藏
配置
无需额外配置!使用B站官方API,无需安装Puppeteer。
依赖:Node.js内置的https模块。
API说明
使用Bilibili官方排行榜API:
https://api.bilibili.com/x/web-interface/ranking/v2?rid=0&type=all- rid=0 表示全站
- type=all 表示综合排名
数据存储
抓取结果保存到:
workspace/scripts/bilibili-hot.json- JSON格式workspace/scripts/bilibili-hot.txt- 文本格式
示例对话
用户: B站热搜
助手: 🎯 开始抓取Bilibili热搜...
📊 Bilibili全站排行榜 (Top 50):
1. ⚡对 对 子 战 神⚡
👤 UP主: 洛温阿特金森
📺 863.0万播放
💬 4.0万弹幕
👍 86.1万点赞
✅ 已保存到 bilibili-hot.json
优势
- 速度快:直接调用API,无需浏览器启动
- 数据全:获取完整的视频统计信息
- 稳定:使用官方API,不易被屏蔽
- 轻量:无需Puppeteer,节省资源
扩展功能
可添加以下功能:
- 分区排行榜(游戏、动画、知识等)
- 热搜词抓取
- 历史数据对比
- 数据可视化图表
分区API示例
- 动画区:
rid=1 - 游戏区:
rid=4 - 知识区:
rid=36
维护
更新脚本位置:skills/bilibili-hot/bilibili-hot.js
如果API变更,需要更新:
- API端点URL
- 数据解析逻辑
Usage Guidance
This skill appears to do exactly what it says: call Bilibili's public ranking API and save Top 50 results to workspace/scripts/bilibili-hot.json and .txt. Things to consider before installing: it will make outbound HTTPS requests to api.bilibili.com and will create/write files under the agent workspace (default /home/openclaw/.openclaw/workspace). If you prefer a different location, set the WORKSPACE env var or inspect/modify the script. No credentials or third‑party downloads are required. If you want extra assurance, review the script (bilibili-hot.js) yourself or run it in a sandboxed environment.
Capability Assessment
Purpose & Capability
Name/description, SKILL.md, and the included bilibili-hot.js all align: they call the documented Bilibili ranking API, extract Top 50 info, format it, and save outputs. Required binary is only node which is appropriate.
Instruction Scope
Runtime instructions are narrow and match the code: use the official API endpoint, produce JSON/text output, and save under workspace/scripts. The instructions do not request unrelated files, credentials, or external endpoints beyond Bilibili.
Install Mechanism
No install spec; the skill is instruction+script only and relies on Node.js builtin modules (https, fs). There are no downloads or package installs that would increase risk.
Credentials
The skill declares no required env vars and the code uses only an optional WORKSPACE env var (with a reasonable default). No secrets, tokens, or unrelated service credentials are requested.
Persistence & Privilege
always is false and the skill does not modify other skills or system-wide settings. It writes output files into a workspace subdirectory (creates workspace/scripts) which is expected behavior for a data-collection skill.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install bilibili-hot - After installation, invoke the skill by name or use
/bilibili-hot - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of bilibili-hot.
- Automatically fetches Bilibili overall ranking video data using the official API.
- Retrieves detailed statistics for the Top 50 trending videos, including title, UP主, play count, danmu, likes, coins, favorites, and direct links.
- Supports both structured JSON and easy-to-read text output formats.
- Saves results to bilibili-hot.json (JSON) and bilibili-hot.txt (text).
- No additional configuration or browser dependencies required; uses Node.js https module for fast, lightweight operation.
Metadata
Frequently Asked Questions
What is bilibili-hot?
自动抓取Bilibili全站排行榜视频数据,包含详细的视频统计信息. It is an AI Agent Skill for Claude Code / OpenClaw, with 241 downloads so far.
How do I install bilibili-hot?
Run "/install bilibili-hot" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is bilibili-hot free?
Yes, bilibili-hot is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does bilibili-hot support?
bilibili-hot is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created bilibili-hot?
It is built and maintained by Mr.Yang (@yangjinghua0127); the current version is v1.0.0.
More Skills