openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > 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...

媒体与内容

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v2.0.0

统计:⭐ 0 · 110 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:54lynnn/bilibili-ai-subtitle

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The script and instructions match the declared purpose (download Bilibili AI subtitles), require only yt-dlp and common CLI tools, and do not contain unexplained network endpoints or credential exfiltration.

目的

The name/description (download Bilibili AI subtitles) align with the provided script and SKILL.md. The script uses yt-dlp to list and fetch AI subtitles, parses metadata, and writes a formatted TXT — all directly related to the stated purpose.

说明范围

Runtime instructions and the script stay within subtitle-download scope. The script enumerates local browser cookie stores (WSL Chromium path and Windows Edge user data under /mnt/c/Users) to supply yt-dlp with cookies for member-only videos — this is relevant to the feature but does access local browser profile paths. No other files, external endpoints, or unrelated system data are accessed or transmitted.

安装机制

There is no install step (instruction-only + shell script). No remote downloads or archive extraction are performed by the skill itself. The only declared dependency in SKILL.md is yt-dlp (the script also uses python3, coreutils like sed/grep/find/wc/date which are normal).

证书

The skill requests no environment variables or credentials. It does, however, attempt to read local browser cookie stores and enumerates /mnt/c/Users to locate a Windows Edge profile for cookie extraction — behavior that is explainable for accessing member-only videos but is sensitive because it uses authenticated browser cookies. Also the default output directory is a hardcoded path (/home/administrator/.openclaw/workspace/...) if none is pro…

持久

The skill does not request permanent presence (always: false) and does not modify other skills or global agent config. It runs only when invoked.

综合结论

This skill appears coherent for its stated purpose. Before installing/running: 1) Ensure yt-dlp and python3 are installed and up-to-date. 2) Review the script yourself (it is short and readable). 3) Be aware it will try to read local browser cookie stores (WSL Chromium path or Windows Edge user data under /mnt/c/Users) to access member-only videos — if you don't want that, run the script without cookies or remove the cookie-detection block. 4)…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Bilibili AI Subtitle」。简介:Download Bilibili AI-generated subtitles (auto-subtitles) for videos. Use when …。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/54lynnn/bilibili-ai-subtitle/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: bilibili-ai-subtitle
description: "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."
---

# 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:

| Code | Language | 语言 |
|------|----------|------|
| `ai-zh` | Chinese | 中文 |
| `ai-en` | English | 英文 |
| `ai-ja` | Japanese | 日文 |
| `ai-es` | Spanish | 西班牙文 |
| `ai-ar` | Arabic | 阿拉伯文 |
| `ai-pt` | Portuguese | 葡萄牙文 |
| `ai-ko` | Korean | 韩文 |
| `ai-de` | German | 德文 |
| `ai-fr` | French | 法文 |

## Usage

### Basic Usage
```bash
./scripts/bilibili_ai_subtitle.sh "https://www.bilibili.com/video/BVxxxxx/"
```

### Specify Language Priority
```bash
# 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

| Feature | bilibili-ai-subtitle | bilibili-transcript |
|---------|---------------------|---------------------|
| **Purpose** | Download AI subtitles only | Full transcription workflow |
| **Speed** | ⚡ Fast (instant download) | Varies (subtitles → Whisper) |
| **Subtitle sources** | AI only | CC → AI → Whisper |
| **Use case** | Quick subtitle grab | Complete transcription |
| **Dependencies** | yt-dlp only | yt-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).