mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	Fixed typo in error message when no subtitles were available.
This commit is contained in:
		 Ismael Mejia
					Ismael Mejia
				
			
				
					committed by
					
						 Filippo Valsorda
						Filippo Valsorda
					
				
			
			
				
	
			
			
			 Filippo Valsorda
						Filippo Valsorda
					
				
			
						parent
						
							2a4093eaf3
						
					
				
				
					commit
					c0ba104674
				
			| @@ -247,7 +247,7 @@ class YoutubeIE(InfoExtractor): | ||||
|         sub_lang_list = re.findall(r'name="([^"]*)"[^>]+lang_code="([\w\-]+)"', sub_list) | ||||
|         sub_lang_list = dict((l[1], l[0]) for l in sub_lang_list) | ||||
|         if not sub_lang_list: | ||||
|             return (u'WARNING: video doesn\'t have download', None) | ||||
|             return (u'WARNING: video doesn\'t have subtitles', None) | ||||
|         return sub_lang_list | ||||
|  | ||||
|     def _list_available_subtitles(self, video_id): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user