搜索

PythonReactSEOPDF
OpenClaw

video-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 information from it.

donnycui0 来源安装数☆ 0 仓库 Starsv1.1.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install donnycui/bilibili-youtube-watcher

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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

Platform Default Language
YouTube en (English)
Bilibili zh-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

来源信息

Source
github
Repository
openclaw/skills
Path
skills/donnycui/bilibili-youtube-watcher
Version
1.1.0
Commit
8384d4b57b106f0b935eceee5eab3ffc86f1c0bb
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Video Watcher

Universal transcript fetcher for YouTube and Bilibili videos.

Features

  • ✅ YouTube Support - youtube.com, youtu.be
  • ✅ Bilibili Support - bilibili.com, b23.tv
  • ✅ Auto Platform Detection - Automatically identifies video platform from URL
  • ✅ Smart Language Defaults - zh-CN for Bilibili, en for YouTube
  • ✅ Custom Language - Override with --lang flag
  • ✅ Dual Format - Supports both VTT and SRT subtitle formats

Installation

Prerequisites

Install yt-dlp:

# macOS
brew install yt-dlp

# Linux
sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
sudo chmod +x /usr/local/bin/yt-dlp

# Python
pip install yt-dlp
Install via ClawHub
clawhub install video-watcher
Manual Installation
  1. Download this skill folder
  2. Place it in your OpenClaw workspace: ~/.openclaw/workspace/skills/video-watcher/

Usage

Basic Usage (Auto-detect)
# YouTube
python3 ~/.openclaw/workspace/skills/video-watcher/scripts/get_transcript.py \
  "https://www.youtube.com/watch?v=VIDEO_ID"

# Bilibili
python3 ~/.openclaw/workspace/skills/video-watcher/scripts/get_transcript.py \
  "https://www.bilibili.com/video/BVxxxxx"
Specify Language
# Get English subtitles for a Bilibili video
python3 scripts/get_transcript.py "https://bilibili.com/video/..." --lang en

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

Default Languages

Platform Default Common Alternatives
YouTube en zh-CN, ja, es, fr
Bilibili zh-CN en, zh-TW, ja

Output Format

# Platform: Bilibili
# Language: zh-CN
# URL: https://www.bilibili.com/video/...

[Clean transcript text without timestamps...]

Troubleshooting

"yt-dlp n...

来源内容

SKILL.md
# 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)

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

### Specify Language

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

## Examples

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

### Bilibili Video
```bash
python3 {baseDir}/scripts/get_transcript.py "https://www.bilibili.com/video/BV1xx411c7mD"
```

### With Custom Language
```bash
# 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

| Platform | Default Language |
|----------|-----------------|
| YouTube  | `en` (English)  |
| Bilibili | `zh-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
README
# Video Watcher

Universal transcript fetcher for **YouTube** and **Bilibili** videos.

## Features

- ✅ **YouTube Support** - youtube.com, youtu.be
- ✅ **Bilibili Support** - bilibili.com, b23.tv
- ✅ **Auto Platform Detection** - Automatically identifies video platform from URL
- ✅ **Smart Language Defaults** - zh-CN for Bilibili, en for YouTube
- ✅ **Custom Language** - Override with `--lang` flag
- ✅ **Dual Format** - Supports both VTT and SRT subtitle formats

## Installation

### Prerequisites

Install [yt-dlp](https://github.com/yt-dlp/yt-dlp):

```bash
# macOS
brew install yt-dlp

# Linux
sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
sudo chmod +x /usr/local/bin/yt-dlp

# Python
pip install yt-dlp
```

### Install via ClawHub

```bash
clawhub install video-watcher
```

### Manual Installation

1. Download this skill folder
2. Place it in your OpenClaw workspace: `~/.openclaw/workspace/skills/video-watcher/`

## Usage

### Basic Usage (Auto-detect)

```bash
# YouTube
python3 ~/.openclaw/workspace/skills/video-watcher/scripts/get_transcript.py \
  "https://www.youtube.com/watch?v=VIDEO_ID"

# Bilibili
python3 ~/.openclaw/workspace/skills/video-watcher/scripts/get_transcript.py \
  "https://www.bilibili.com/video/BVxxxxx"
```

### Specify Language

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

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

## Default Languages

| Platform | Default | Common Alternatives |
|----------|---------|-------------------|
| YouTube  | `en`    | `zh-CN`, `ja`, `es`, `fr` |
| Bilibili | `zh-CN` | `en`, `zh-TW`, `ja` |

## Output Format

```markdown
# Platform: Bilibili
# Language: zh-CN
# URL: https://www.bilibili.com/video/...

[Clean transcript text without timestamps...]
```

## Troubleshooting

### "yt-dlp n...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.