Update YoutubeDL.py

Added "add the --list-subs flag to see a list of available subtitle formats"
This commit is contained in:
DaPotato69 2024-05-06 17:06:11 +10:00 committed by GitHub
parent 5904853ae5
commit 524cdbd38c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -3071,7 +3071,7 @@ class YoutubeDL:
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