humanpages
Search and hire real humans for tasks — photography, delivery, research, and more
Extract plain-text transcripts from YouTube videos using a local Python script. Use when the user wants to fetch, extract, or get a transcript from a YouTube video URL, analyze YouTube video content as text, or needs subtitles/captions from a video.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install hushenglang/extract-youtube-transcript打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Fetches plain-text transcripts from YouTube videos using extract_youtube_transcript.py in this skill folder.
pip show youtube-transcript-api &>/dev/null || pip install youtube-transcript-api
python extract_youtube_transcript.py "https://www.youtube.com/watch?v=VIDEO_ID"
Supported URL formats: youtube.com/watch?v=, youtu.be/, /embed/, /live/, /shorts/, or a raw 11-char video ID.
python extract_youtube_transcript.py "URL" --lang zh-Hant en
Pass languages in priority order. Falls back to any available transcript if none match.
python extract_youtube_transcript.py "URL" --output transcript.txt
Text is printed to stdout and also written to the file.
python extract_youtube_transcript.py "URL" --list-langs
Use this to discover what language codes are available before fetching.
| Code | Language |
|---|---|
en |
English |
zh-Hant |
Traditional Chinese |
zh-Hans |
Simplified Chinese |
ja |
Japanese |
ko |
Korean |
es |
Spanish |
| Error | Cause | Recovery |
|---|---|---|
TranscriptsDisabled |
Owner disabled captions | No transcript available |
NoTranscriptFound |
Requested lang not found | Run --list-langs, pick an available code |
VideoUnavailable |
Video is private/deleted | Verify the URL |
AgeRestricted |
Age-gated video | Auth not supported; no workaround |
InvalidVideoId |
Malformed URL or ID | Check the URL format |
NoTranscriptFound, run --list-langs to see available codes, then re-fetch with --lang <code>
--output for easier downstream processing这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Extract YouTube Transcript Fetches plain-text transcripts from YouTube videos using `extract_youtube_transcript.py` in this skill folder. ## Dependency ```bash pip show youtube-transcript-api &>/dev/null || pip install youtube-transcript-api ``` ## Quick Start ```bash python extract_youtube_transcript.py "https://www.youtube.com/watch?v=VIDEO_ID" ``` Supported URL formats: `youtube.com/watch?v=`, `youtu.be/`, `/embed/`, `/live/`, `/shorts/`, or a raw 11-char video ID. ## Common Patterns ### Fetch with preferred language(s) ```bash python extract_youtube_transcript.py "URL" --lang zh-Hant en ``` Pass languages in priority order. Falls back to any available transcript if none match. ### Save transcript to file ```bash python extract_youtube_transcript.py "URL" --output transcript.txt ``` Text is printed to stdout and also written to the file. ### List available languages first ```bash python extract_youtube_transcript.py "URL" --list-langs ``` Use this to discover what language codes are available before fetching. ## Language Codes | Code | Language | |------|----------| | `en` | English | | `zh-Hant` | Traditional Chinese | | `zh-Hans` | Simplified Chinese | | `ja` | Japanese | | `ko` | Korean | | `es` | Spanish | ## Error Handling | Error | Cause | Recovery | |-------|-------|----------| | `TranscriptsDisabled` | Owner disabled captions | No transcript available | | `NoTranscriptFound` | Requested lang not found | Run `--list-langs`, pick an available code | | `VideoUnavailable` | Video is private/deleted | Verify the URL | | `AgeRestricted` | Age-gated video | Auth not supported; no workaround | | `InvalidVideoId` | Malformed URL or ID | Check the URL format | ## Workflow 1. Try a direct fetch first 2. If `NoTranscriptFound`, run `--list-langs` to see available codes, then re-fetch with `--lang <code>` 3. Save long transcripts to a file with `--output` for easier downstream processing
Search and hire real humans for tasks — photography, delivery, research, and more
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.
Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...
Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...