mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 06:05:13 +00:00 
			
		
		
		
	[extractor] Deprecate _sort_formats
				
					
				
			This commit is contained in:
		| @@ -296,7 +296,6 @@ class ThePlatformIE(ThePlatformBaseIE, AdobePassIE): | ||||
|             smil_url = self._sign_url(smil_url, sig['key'], sig['secret']) | ||||
| 
 | ||||
|         formats, subtitles = self._extract_theplatform_smil(smil_url, video_id) | ||||
|         self._sort_formats(formats) | ||||
| 
 | ||||
|         ret = self._extract_theplatform_metadata(path, video_id) | ||||
|         combined_subtitles = self._merge_subtitles(ret.get('subtitles', {}), subtitles) | ||||
| @@ -366,8 +365,6 @@ class ThePlatformFeedIE(ThePlatformBaseIE): | ||||
|                 formats.extend(cur_formats) | ||||
|                 subtitles = self._merge_subtitles(subtitles, cur_subtitles) | ||||
| 
 | ||||
|         self._sort_formats(formats) | ||||
| 
 | ||||
|         thumbnails = [{ | ||||
|             'url': thumbnail['plfile$url'], | ||||
|             'width': int_or_none(thumbnail.get('plfile$width')), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan