Extract transcripts from Vimeo videos that have captions enabled.
pip install playwright
playwright install chromium# Output transcript to stdout
python vimeo_transcript.py https://vimeo.com/123456789
# Save to a file
python vimeo_transcript.py https://vimeo.com/123456789 --output transcript.txt
# Output in VTT format (with timestamps)
python vimeo_transcript.py https://vimeo.com/123456789 --format vtt
# Works with showcase URLs too
python vimeo_transcript.py "https://vimeo.com/showcase/MyShowcase?video=123456789"-o, --output FILE- Save transcript to a file instead of stdout-f, --format {text,vtt}- Output format (default: text)
- Python 3.10+
- playwright
The script uses Playwright to:
- Navigate to the Vimeo video page
- Extract the VTT caption URL from the embedded player
- Download the VTT file
- Convert it to plain text (or output raw VTT if requested)
- Only works for videos that have captions/transcripts enabled
- Requires the video to be publicly accessible (or the showcase to be accessible)