mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Better warning when requested subs format not found (#9873)
Closes #9760 Authored by: DaPotato69
This commit is contained in:
		| @@ -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 | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 DaPotato69
					DaPotato69