Bilibili & YouTube Watcher

Fetch and read transcripts from YouTube and Bilibili videos. Use when you need to summarize a video, answer questions about its content, or extract informati...

donnycui

@donnycui

What This Skill Does

Fetches and reads transcripts from YouTube and Bilibili videos. Supports multiple languages and auto-detects the platform from the URL.

Replaces manually watching and transcribing videos by extracting text content for summarization, QA, and information retrieval.

When to Use It

  • Summarize a long YouTube or Bilibili video without watching it
  • Extract specific information or quotes from a video transcript
  • Answer questions about a video's content using its transcript
  • Compare or analyze content across multiple videos on both platforms
  • Get subtitles in a different language than the video's default

Install

$ openclaw skills install @donnycui/bilibili-youtube-watcher

Video Watcher

Fetch transcripts from YouTube and Bilibili videos to enable summarization, QA, and content extraction.

Supported Platforms

  • YouTube (youtube.com, youtu.be)
  • Bilibili (bilibili.com, b23.tv)

Usage

Get Transcript (Auto-detect Platform)

python3 {baseDir}/scripts/get_transcript.py "VIDEO_URL"

Specify Language

python3 {baseDir}/scripts/get_transcript.py "VIDEO_URL" --lang zh-CN

Examples

YouTube Video

python3 {baseDir}/scripts/get_transcript.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

Bilibili Video

python3 {baseDir}/scripts/get_transcript.py "https://www.bilibili.com/video/BV1xx411c7mD"

With Custom Language

# Get English subtitles for a Bilibili video
python3 {baseDir}/scripts/get_transcript.py "https://bilibili.com/video/..." --lang en

# Get Chinese subtitles for a YouTube video
python3 {baseDir}/scripts/get_transcript.py "https://youtube.com/watch?v=..." --lang zh-CN

Default Languages

PlatformDefault Language
YouTubeen (English)
Bilibilizh-CN (Chinese)

Common Language Codes

  • en - English
  • zh-CN - Simplified Chinese (简体中文)
  • zh-TW - Traditional Chinese (繁體中文)
  • ja - Japanese
  • ko - Korean
  • es - Spanish
  • fr - French
  • de - German

Notes

  • Requires yt-dlp to be installed and available in PATH
  • Works with videos that have closed captions (CC) or auto-generated subtitles
  • Automatically detects platform from URL
  • If no subtitles available, the script will fail with an error message
  • yt-dlp natively supports both YouTube and Bilibili

Top skills in this category