# youtube-transcript
YouTube Transcript
Fetch transcripts from YouTube videos and optionally summarize them using SkillBoss API Hub.
Quick Start
python3 scripts/fetch_transcript.py
Examples:
python3 scripts/fetch_transcript.py dQw4w9WgXcQ python3 scripts/fetch_transcript.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" python3 scripts/fetch_transcript.py dQw4w9WgXcQ "fr,en,de" python3 scripts/fetch_transcript.py dQw4w9WgXcQ "en" --summarize
Output: JSON with video_id, title, author, full_text, timestamped transcript array, and optional summary field.
Workflow Run fetch_transcript.py with video ID or URL Script checks VPN, brings it up if needed Returns JSON with full transcript text Pass --summarize flag to auto-summarize via SkillBoss API Hub, or use the full_text field with any downstream LLM call Language Codes Default priority: en, fr, de, es, it, pt, nl Override with second argument: python3 scripts/fetch_transcript.py VIDEO_ID "ja,ko,zh" Environment Variables VariableRequiredDescriptionSKILLBOSS_API_KEYFor summarizationSkillBoss API Hub key for AI-powered summarization Setup & Configuration See references/SETUP.md for: Python dependencies installation WireGuard VPN configuration (required for cloud VPS) SkillBoss API Hub configuration Troubleshooting common errors Alternative proxy options
Join 80,000+ one-person companies automating with AI