返回顶部
y

youtube-full-channel-transcripts

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
78
下载量
0
收藏
概述
安装方式
版本历史

youtube-full-channel-transcripts

# YouTube Full Channel Transcripts **Free, local alternative to Apify actor** — no third-party paid APIs. Fetches all videos from a YouTube channel (or playlist), extracts available transcripts (auto-generated or manual), and exports to JSON/CSV. ## When to Use - "Get all transcripts from channel X" - "Export channel Y's video subtitles" - "Build dataset of all videos from creator Z" ## Prerequisites - `yt-dlp` installed (https://github.com/yt-dlp/yt-dlp) - `jq` installed (for JSON processing) - Internet connection ## Usage ```bash # Basic: fetch all transcripts from a channel youtube_full_channel_transcripts channel_url="https://www.youtube.com/@SomeChannel" output_format="json" # With filters youtube_full_channel_transcripts channel_url="https://www.youtube.com/c/ChannelName" max_videos=50 languages="en" include_auto_generated=true ``` ## Options | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `channel_url` | string | yes | YouTube channel URL, handle, or playlist URL | | `output_format` | string | no | Output format: `json` (default) or `csv` | | `max_videos` | integer | no | Limit number of videos to process (default: all) | | `languages` | string | no | Comma-separated language codes (e.g., `en,es`). Default: `en` | | `include_auto_generated` | boolean | no | Include auto-generated transcripts? (default: `true`) | | `output_dir` | string | no | Directory to save results (default: `workspace/exports/youtube-transcripts`) | ## Output - `transcripts.json` or `transcripts.csv` — structured data with: ```json { "video_id": "abc123", "title": "Video Title", "url": "https://youtube.com/watch?v=abc123", "upload_date": "20240322", "duration": 360, "language": "en", "transcript": "Full text...", "is_auto_generated": false } ``` - Summary printed to console: number of videos processed, success/failure counts. ## Implementation Details 1. **Discovery:** `yt-dlp --flat-playlist -J` to list all videos 2. **Transcript fetch:** `yt-dlp --write-subs --sub-format srt --skip-download` per video 3. **Parsing:** Extract SRT subtitles and convert to plain text 4. **Combine:** Aggregate results into JSON/CSV ## Errors & Retries - If a video has no available transcript, it's skipped (logged) - Network errors: retry up to 3 times with backoff - Rate limiting: yt-dlp handles automatically; can add `--sleep-interval` if needed ## Notes - Respect YouTube's rate limits. The tool includes small delays by default. - Large channels (100+ videos) may take a while; use `max_videos` to limit. - Auto-generated transcripts are more available but less accurate.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 youtube-full-channel-transcripts-1776081061 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 youtube-full-channel-transcripts-1776081061 技能

通过命令行安装

skillhub install youtube-full-channel-transcripts-1776081061

下载 Zip 包

⬇ 下载 youtube-full-channel-transcripts v1.0.0

文件大小: 4.76 KB | 发布时间: 2026-4-14 11:40

v1.0.0 最新 2026-4-14 11:40
Initial release — free, local YouTube channel transcript extraction via yt-dlp

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部