bilibili-render-pdf
Installation
SKILL.md
Bilibili Render PDF
Use this skill to turn a Bilibili video into a complete, compileable .tex note and a rendered PDF.
This skill extends the youtube-render-pdf workflow with Bilibili-specific adaptations for subtitle scarcity, login-gated high resolution, multi-part (分P) videos, and platform-specific non-teaching content.
Bilibili vs YouTube: Key Differences
| Aspect | Handling |
|---|---|
| Subtitle scarcity | Try CC subtitles first → fall back to Whisper speech-to-text → visual-only mode |
| Login-gated HD | 1080P+ requires cookies; prompt the user to use yt-dlp --cookies-from-browser chrome |
| Multi-part videos | Detect 分P videos and ask the user which parts to process |
| URL formats | Support bilibili.com/video/BVxxxxxxx and b23.tv short links |
| Danmaku | Do not use danmaku as a teaching content source (too noisy); use only CC subtitles or Whisper output |
Goal
Produce a professional Chinese lecture note from a Bilibili URL.