![](https://media.kbin.social/media/91/12/91126d664a20a7e318e77fc743ad5d543121e8b15ae66098077251345f1a5433.png)
![](https://lemmy.dbzer0.com/pictrs/image/a18b0c69-23c9-4b2a-b8e0-3aca0172390d.png)
Automatic subtitles are also possible to grab by using --write-auto-sub
, example:
yt-dlp --write-auto-sub [video url]
This next example will attempt to download English subtitles and if that fails, downloads the automatic subtitles instead:
yt-dlp --sub-lang en --write-sub --write-auto-sub [video url]
Note - you can not download automatic subtitles at the same time as language subtitles, which means if you wanted English and automatic I’d recommend the --skip-download
flag for the second command, which will prevent downloading the entire video again:
yt-dlp --sub-lang en --write-sub [video url]
yt-dlp --write-auto-sub --skip-download [video url]
Replace 20 with 60 and plants with dishes - we’re effectively routine twins. Also have a habit of, after the water, bringing a cup of coffee to bedside with me (“I’m totally not falling back asleep”) only to forget about it the moment my head touches the pillow.