bilibili_transcript
Fetch a Bilibili video's auto-generated subtitles as plain text for summarization or translation. Provide a BV id/URL and optional part index; returns actionable errors if subtitles are inaccessible.
Instructions
Fetch a video's auto-generated subtitle track as plain text.
Returns the transcript as text so an LLM can summarise or translate it. Some videos have no subtitles (or subtitles require login to access); in that case the tool returns an honest, actionable error rather than empty.
Return Format
{"success": bool, "data": {"bvid": str, "cid": int, "lang": str, "text": str, "word_count": int}, "message": str}
Examples
bilibili_transcript(bvid="BV1xx411c7mD") bilibili_transcript(bvid="https://www.bilibili.com/video/BV1xx411c7mD", part_index=2)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bvid | Yes | Video id or full bilibili.com/video/... URL (starts with BV). | |
| part_index | No | Which part (1-based) to transcribe for multi-part videos. Defaults to the first part. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | No | ||
| error_type | No | ||
| suggestions | No |