bilibili-subtitle-downloader

Fetch and chunk Bilibili subtitles into structured JSON with chunk file paths.

47|11|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/DavinciEvans/bilibili-subtitle-download-skill --skill bilibili-subtitle-downloader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bilibili-subtitle-downloader
Source: https://github.com/DavinciEvans/bilibili-subtitle-download-skill/tree/main
Command: npx skills add https://github.com/DavinciEvans/bilibili-subtitle-download-skill --skill bilibili-subtitle-downloader

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bilibili_api, qrcode, aiohttp, requests, and includes scripts (resource) components.

What problem does it solve?

This skill automates the extraction, chunking, and preparation of Bilibili video subtitles for AI-assisted summarization, enabling handling of long videos and course content with structured blocks.

Core Features & Use Cases

  • Subtitle download and chunking: fetches subtitles for BV videos and course episodes, then splits text into manageable chunks saved under bili_temp.
  • End-to-end workflow: supports both BV IDs and SS/EP IDs, logs in via QR code when needed, and outputs a JSON descriptor with chunk file paths.
  • LLM-ready output: provides a RESULT_JSON object that lists total characters and chunk file paths for downstream summarization or analysis.

Quick Start

Run the downloader with a BV or EP ID to fetch and chunk subtitles for summarization.

Frequently Asked Questions about bilibili-subtitle-downloader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download Bilibili subtitles for long videos to summarize with an LLM?

To download Bilibili subtitles, run the downloader script with a specific BV or EP ID. The skill handles login via QR code, fetches the subtitles, chunks the text, and outputs a structured JSON descriptor with paths to the chunked text files.

Can I extract subtitles from Bilibili course episodes using an SS or EP ID?

Yes, you can extract subtitles from Bilibili course episodes using SS or EP IDs. The skill supports an end-to-end workflow that handles both standard BV video IDs and course episode IDs, performing login and subtitle retrieval automatically.

Do I need to log in to fetch subtitles for BV videos, and how does authentication work?

Fetching subtitles for BV videos often requires login, which this skill handles via QR code authentication. It uses the bilibili_api library to generate a QR code for secure login before retrieving and chunking the subtitle data.

What is the best way to prepare long Bilibili video transcripts for AI summarization?

When processing long Bilibili videos, chunking subtitles is necessary to avoid exceeding LLM context limits. This skill splits the fetched subtitle text into structured blocks saved under bili_temp, ensuring the output is optimized for downstream summarization.

Does this subtitle downloader work with the bilibili_api and aiohttp libraries?

Yes, the subtitle downloader relies on external libraries such as bilibili_api, aiohttp, and requests. These dependencies are used by the included scripts to manage HTTP clients, QR code login, and the asynchronous fetching of subtitle data.