

youtube-dl, and yt-dlp are a command-line program to download videos from YouTube.com, as well as many other media streaming websites. We are a community of enthusiasts helping each other with problems and usability issues.
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.
Add --write-subs
too
--sub-langs=en.*

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