mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[extractor] Deprecate _sort_formats
				
					
				
			This commit is contained in:
		| @@ -241,8 +241,6 @@ class YahooIE(InfoExtractor): | ||||
|         if not formats and msg == 'geo restricted': | ||||
|             self.raise_geo_restricted(metadata_available=True) | ||||
| 
 | ||||
|         self._sort_formats(formats) | ||||
| 
 | ||||
|         thumbnails = [] | ||||
|         for thumb in video.get('thumbnails', []): | ||||
|             thumb_url = thumb.get('url') | ||||
| @@ -498,7 +496,6 @@ class YahooJapanNewsIE(InfoExtractor): | ||||
|                     'tbr': int_or_none(vid.get('bitrate')), | ||||
|                 }) | ||||
|         self._remove_duplicate_formats(formats) | ||||
|         self._sort_formats(formats) | ||||
| 
 | ||||
|         return formats | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan