Skip to main content Problem with downloading subtitles : r/youtubedl
r/youtubedl icon
Go to youtubedl
•

Problem with downloading subtitles

I have to embed both auto-generated subs and english subs in my videos. so I am using this options in my config.

--write-auto-subs
--sub-langs=en,en*
--embed-subs

without `--write-auto-subs` it works fine but when I use that option it doesn't downloads any subs at all. it says "There's no subtitles for the requested languages"

even though it downloads the english subtitles from the same video if I remove the first option from my config file.

How can I embed both auto-generated subtitles and the language subtitle(made by the uploader of the video) on my downloaded video.

Archived post. New comments cannot be posted and votes cannot be cast.
Instantly add a blur effect with Lens Blur in Adobe Lightroom. One-tap presets make it easy to edit your photos and focus on what matters most.
Clickable image which will reveal the video player: Instantly add a blur effect with Lens Blur in Adobe Lightroom. One-tap presets make it easy to edit your photos and focus on what matters most.
Sort by:
Best
Open comment sort options

Add --write-subs too

--sub-langs=en.*

Profile Badge for the Achievement Top 1% Commenter Top 1% Commenter

u/Spare_Ad_6084, this is an important distinction that you need to fix. The syntax used here is a regular expression, so 'en*' doesn't mean "en" and anything after it. 'en*' means "e" with any number of n's after it (zero or more).

In regular expressions, the "." (period) represents "any character". So 'en.*' means "en" and anything after it.

Good catch, u/John_mccaine

More replies
More replies