diff options
author | DaPotato69 <128940918+DaPotato69@users.noreply.github.com> | 2024-05-12 07:11:40 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-11 21:11:40 +0000 |
commit | 7e4259dff0b681a3f0e8a930799ce0394328c86e (patch) | |
tree | 533bf1483bef5c96c539dfff29228d3d44288d61 | |
parent | f1f158976e38d38a260762accafe7bbe6d451151 (diff) |
Better warning when requested subs format not found (#9873)
Closes #9760
Authored by: DaPotato69
-rw-r--r-- | yt_dlp/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index e0d58f0f4..2c6f695d0 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -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. Use --list-subs for a list of available subtitles' % (formats_query, lang, f['ext'])) subs[lang] = f return subs |