bilibili-ai-subtitle

Download Bilibili AI-generated subtitles (auto-subtitles) for videos. Use when you need to quickly get subtitles from Bilibili videos that have AI-generated captions. Supports 9 languages: Chinese, English, Japanese, Spanish, Arabic, Portuguese, Korean, German, French. Language priority can be customized.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "bilibili-ai-subtitle" with this command: npx skills add 54lynnn/bilibili-ai-subtitle

Bilibili AI Subtitle Downloader v2.0

Download AI-generated subtitles from Bilibili videos quickly.

What This Skill Does

This skill downloads AI-generated subtitles (自动生成的字幕) from Bilibili videos. These are subtitles automatically created by Bilibili's AI system, not manually uploaded by creators.

Key improvements from v1.x:

  • ✅ Customizable language priority (e.g., prefer English over Chinese)
  • ✅ Better filename format: Title_Author_Date_Duration_BVid.txt
  • ✅ Three-part document structure (Info, Summary, Full Text)
  • ✅ Improved UTF-8 filename handling
  • ✅ Better WSL Chromium/Windows Edge Cookie support

Supported AI Languages

Bilibili uses ai- prefix for AI-generated subtitles:

CodeLanguage语言
ai-zhChinese中文
ai-enEnglish英文
ai-jaJapanese日文
ai-esSpanish西班牙文
ai-arArabic阿拉伯文
ai-ptPortuguese葡萄牙文
ai-koKorean韩文
ai-deGerman德文
ai-frFrench法文

Usage

Basic Usage

./scripts/bilibili_ai_subtitle.sh "https://www.bilibili.com/video/BVxxxxx/"

Specify Language Priority

# Prefer English, fallback to Chinese
./scripts/bilibili_ai_subtitle.sh -l en,zh "BVxxxxx"

# Prefer Japanese
./scripts/bilibili_ai_subtitle.sh --lang ja "BVxxxxx"

# Multiple languages in order of preference
./scripts/bilibili_ai_subtitle.sh -l en,zh,ja,es "BVxxxxx"

Output

File name format: VideoTitle_Author_Date_Duration_BVid.txt

File structure:

第一部分:视频信息
├── 视频标题
├── B站链接
├── 作者
├── 发布时间
├── 视频时长
├── 原视频语言
└── 转录来源

第二部分:视频摘要
└── 自动生成的内容摘要

第三部分:完整原文
└── 完整字幕文本

Setup

Browser Cookie (Recommended)

For accessing member-only videos, log in to Bilibili in:

  • WSL Chromium (preferred): chromium-browser &
  • Windows Edge: Log in normally

The script will automatically detect and use available cookies.

Requirements

  • yt-dlp installed
  • Optional: Browser with Bilibili login (for member-only videos)

Notes

  • AI subtitles are generated automatically by Bilibili's system
  • Accuracy varies (typically 85-95% for clear speech)
  • Not all videos have AI subtitles available
  • Some videos may require membership to access AI subtitles

Comparison with bilibili-transcript

Featurebilibili-ai-subtitlebilibili-transcript
PurposeDownload AI subtitles onlyFull transcription workflow
Speed⚡ Fast (instant download)Varies (subtitles → Whisper)
Subtitle sourcesAI onlyCC → AI → Whisper
Use caseQuick subtitle grabComplete transcription
Dependenciesyt-dlp onlyyt-dlp + optional Whisper

Recommendation: Use bilibili-ai-subtitle for quick AI subtitle download, use bilibili-transcript when you need complete transcription (including voice transcription for videos without subtitles).

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Ferrero Rocher

Ferrero Rocher is a premium hazelnut chocolate by Ferrero Group, selling over 3.5 billion units annually worldwide.

Registry SourceRecently Updated
General

Amc Networks

美国电视传媒集团,旗下有AMC、BBC America等频道,制作热门剧集如绝命毒师、行尸走肉,拥有流媒体服务AMC+。

Registry SourceRecently Updated
General

Square

Square API integration with managed OAuth. This is a write-capable integration — it can read, create, update, and delete payments, customers, orders, catalog...

Registry SourceRecently Updated
5.4K3Profile unavailable
General

Weibo User Published Posts API

Call GET /api/weibo/get-user-post/v1 for Weibo User Published Posts through JustOneAPI with uid.

Registry SourceRecently Updated