| name | video-watcher |
| description | Fetch and read transcripts from YouTube and Bilibili videos. Use when you need to summarize a video, answer questions about its content, or extract information from it. |
| version | 1.1.0 |
| triggers | ["watch video","summarize video","video transcript","youtube summary","bilibili summary","analyze video"] |
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"
Default Languages
| Platform | Default Language |
|---|
| YouTube | en (English) |
| Bilibili | zh-CN (Chinese) |
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