Bilibili Source Fetcher
Fetch real, citable Bilibili video metadata, live engagement stats, and full danmaku text — no login required.
Data & AnalyticsIntermediate★ 1,419⑂ 219AI score 8/10Last updated: Sep 22, 2026
What it does
- Accepts any reference a user pastes — BVID, av number, b23.tv short link, or full URL — and normalizes it.
- Returns one JSON blob with title, UP name/mid/follower count, publish date, partition, tags, per-part cids, duration, and live stats (view, like, coin, favorite, share, reply, danmaku).
- Dumps the full danmaku (time-synced bullet comments) text so you can see where and how viewers reacted.
- Handles the network gotchas for you: strips local proxies, sends browser UA + Referer to avoid HTTP 412, retries with backoff.
- Ships a self-test script that PASS/FAILs every capability against the live API so upstream drift surfaces loudly.
Who it's for
- Marketers and researchers analyzing why a Bilibili video performed.
- Anyone ingesting Chinese video sources into a knowledge base or dataset.
- People who need to verify a creator's claimed metrics with real API numbers.
Examples
- "Why did this BV video blow up?" — pull stats, tags, and danmaku, then write an evidence-backed breakdown.
- Before writing "48,000 views" into a doc, fetch the real number and cite it with the
fetched_attimestamp. - For a multi-part series, extract each part's cid and compare danmaku density across parts.
- (Login required) Use your browser session to pull the AI-generated subtitle track as a draft transcript, labeled as AI-ASR.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/daymade/claude-code-skills/HEAD/bilibili-source/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the bilibili-source folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/bilibili-source/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/bilibili-source ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/daymade/claude-code-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r claude-code-skills/bilibili-source ~/.claude/skills/ - Make the scripts executable:
chmod +x ~/.claude/skills/bilibili-source/scripts/*.sh - Ensure
curlis installed; for the subtitle path also installyt-dlp(brew install yt-dlporpip install yt-dlp). - Restart Claude Code, then ask: "Fetch the data for this Bilibili video: <link>".
- On first use run
scripts/bili-selftest.shto confirm the upstream API still behaves as documented.
View source on GitHub ↗License: MIT