youtube-dl download autotranslate subs
6,371
youtube-dl --write-sub \
--skip-download \
--sub-lang=en \
"https://www.youtube.com/watch?v=vbLEf4HR74E"
does something looking OK on version 2017.05.18.1-1
.
youtube-dl says Couldn't find automatic captions for vbLEf4HR74E
with --write-auto-sub
but --write-sub
with a selected language --sub-lang=en
seems to work.
Related videos on Youtube
Author by
xralf
Updated on September 18, 2022Comments
-
xralf almost 2 years
I would like to download auto-generated subtitles with
youtube-dl
as follows$ youtube-dl --write-auto-sub \ --skip-download \ https://www.youtube.com/watch?v=vbLEf4HR74E
It downloads file
The habits of happiness _ Matthieu Ricard-vbLEf4HR74E.en.vtt
which is not auto-generated subtitles, it contains the wordcoke box
instead ofCoca-Cola tins
.How to download the right file?
-
Jaleks about 6 yearswhich version do you use?
-
xralf about 6 years@Jaleks 2018.06.14
-
Jaleks about 6 years
youtube-dl **--write-sub** --skip-download _--sub-lang=en_ "https://www.youtube.com/watch?v=vbLEf4HR74E"
does something looking OK for my version 2017.05.18.1-1. youtube-dl tells me "Couldn't find automatic captions for vbLEf4HR74E" for--write-auto-sub
-
Jaleks about 6 yearsDifferent versions - different results. I get "Coca-cola tins"…
-
xralf about 6 yearsI'm sorry you're right. I should use --write-sub instead of --write-auto-sub. It works now.
-
-
xralf about 6 yearsYes, sometimes works
--write-sub
and sometimes works--write-auto-sub
(when human-translated subtitles are missing)