Overview
- Skill Key
- hushenglang/extract-youtube-transcript
- Author
- hushenglang
- Source Repo
- openclaw/skills
- Version
- 2.1.0
- Source Path
- skills/hushenglang/extract-youtube-transcript
- Latest Commit SHA
- 8f82e9bf12c26686ceac7d44bf2c45fb9fc376fc
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.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 extract-youtube-transcript 技能。 若已安装,则直接安装 extract-youtube-transcript 技能。
# 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
human-pages-ai
Search and hire real humans for tasks — photography, delivery, research, and more
zseven-w
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.
capt-marbles
Attio CRM integration for managing companies, people, deals, notes, tasks, and custom objects. Use when working with Attio CRM data, searching contacts, managing sales pipelines, adding notes to records, creating tasks, or syncing prospect information.
capt-marbles
Web scraping and crawling with Firecrawl API. Fetch webpage content as markdown, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs to scrape a URL, get current web info, capture a screenshot, extract specific data from pages, or crawl docs for a framework/library.
caqlayan
Tweet Processor Skill
carlosarturoleon
Connect to Windsor.ai MCP for natural language access to 325+ data sources including Facebook Ads, GA4, HubSpot, Shopify, and more.