lk/sound/youtube-dl.md
2022-01-18 13:24:25 +01:00

494 B
Raw Blame History

title tags
youtube-dl
Documentation
sound

youtube-dl --write-auto-sub

It will default to English, but you can specify another language with the flag --sub-lang:

youtube-dl --sub-lang sv --write-auto-sub

You can list all available subtitles with:

youtube-dl --list-subs

Its also possible to skip the video and only download the subtitle if you add the flag --skip-download:

youtube-dl --sub-lang sv --write-auto-sub --skip-download