A tool to fetch transcripts from YouTube channels using either YouTube's API or AI transcription (Whisper) as a fallback.
- Fetch transcripts from YouTube channels or single videos
- Supports both regular videos and Shorts
- Uses YouTube transcript API when available
- Falls back to AI transcription (Whisper) when no transcript exists
- Bulk channel processing
- Python 3.8+
- FFmpeg
- Deno (for cache)
- YouTube cookies (for accessing age-restricted/private content)
pip install -r requirements.txt- FFmpeg: Install FFmpeg and update the path in
ytpro.py - Deno: Install Deno and update the path in
ytpro.py - Cookies: Export your YouTube cookies to
cookies.txt(see cookie-export) - Model: The Whisper model will download automatically on first run
python ytpro.pySelect:
1- Single channel2- Multiple channels
Enter channel URL(s) when prompted. Transcripts will be saved in folder(s) named after the channel.
Edit ytpro.py to change:
MODEL_SIZE- Whisper model size (tiny, base, small, medium, large)TOP_N- Number of videos to fetch per channel
MIT License - See LICENSE file