Search Video Audio
Check subtitles available:
1url='https://videos.domainepublic.net/videos/watch/d9567d5b-1add-477c-bce3-a58cef84c28c'
2yt-dlp --list-subs "$url" | grep --max-count=1 '^en'
The original language often displays with -orig
, e.g. en-orig (Original)
.
1Language Formats
2ar vtt
3az vtt
4bg vtt
5ca vtt
6cs vtt
7da vtt
8de vtt
9el vtt
10en vtt
Search youtube.com for videos on a topic, and download subtitles:
1url="$(ytfzf -I l "$search" )" && \
2yt-dlp --write-subs --sub-format 'ass/srt/best/vtt' --sub-langs "en.*" --skip-download "$url"