Bilibili Video Danmaku Extractor
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_ab5ae6ee/unclecheng-bilibili-danmaku-extractor-v1.
About this skill
The Problem
Bilibili danmaku is not only real-time commentary, but also context, jokes, and viewer reactions. The web player is convenient for watching, but it is not ideal for preserving, searching, or analyzing all danmaku. If you want to save a video’s danmaku locally for content review, case notes, or structured statistics, manual copying often loses fields such as time, type, and color, and it is hard to keep a clean chronological order.
How It Works
This skill wraps Bilibili’s public endpoints in a lightweight extraction flow:
- accepts a
BVID or video URL - reads video metadata, including title, uploader, duration, and
cid - requests the danmaku list with
cid, covering rolling, bottom, and top types - handles gzip-compressed responses and exports
JSONplus time-orderedMarkdown
The JSON output keeps full video metadata and danmaku records; the Markdown output is easier to read and preview. Fields include text, time, type, type_code, color, and timestamp, which helps distinguish rolling, bottom, top, reverse, and other danmaku types.
Boundaries
- It targets public videos; the material says no login is required, but Bilibili risk controls and request-rate limits still apply
- The number of extracted danmaku depends on the video; private content and cross-platform data are not covered
- If the result is empty, or you see
412/403, check link validity, network state, and slow down retries
Use Cases
- Review a Bilibili video and save rolling, bottom, and top danmaku as time-ordered Markdown.
- Compile viewer context by exporting JSON and checking fields like time, type_code, and color.
- Write a case analysis by extracting all danmaku from a BV ID and filtering key timestamps.
- Log content observations by exporting danmaku to readable Markdown for chronological review.
Best For
- Content operations staff who need to preserve danmaku as searchable, reviewable text.
- Data analysts who need structured fields from public video danmaku for follow-up analysis.
- Creator research assistants who need chronological danmaku to review audience reactions.
- Community researchers who need to save a video’s danmaku as JSON and Markdown for analysis.
Related Skills
Fetches Baidu Hot Search Top 10 titles using web_fetch first, validates same-day data, and falls back to browser automation when stale.
Generates an evening A-share policy and trading opportunity daily report by collecting same-day index, policy, and capital data, then applying a fixed template to highlight beneficiary sectors, drivers, and price directions.
Maps natural-language TikTok requests to KeyAPI REST scenarios, validates endpoints against docs, and executes data queries and analysis.
Extract city-specified AI jobs from BOSS Zhipin, save CSV/table data, mark new postings, and summarize salary trends, application advice, and HTML reports.