mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 10:23:16 +00:00
Update YoutubeDL.py
Added "add the --list-subs flag to see a list of available subtitle formats"
This commit is contained in:
parent
5904853ae5
commit
524cdbd38c
|
@ -3071,7 +3071,7 @@ def process_subtitles(self, video_id, normal_subtitles, automatic_captions):
|
|||
f = formats[-1]
|
||||
self.report_warning(
|
||||
'No subtitle format found matching "%s" for language %s, '
|
||||
'using %s' % (formats_query, lang, f['ext']))
|
||||
'using %s. Add the --list-subs flag to see a list of available subtitle formats' % (formats_query, lang, f['ext']))
|
||||
subs[lang] = f
|
||||
return subs
|
||||
|
||||
|
|
Loading…
Reference in a new issue