mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[piksel] Fix sorting
This commit is contained in:
		| @@ -73,6 +73,7 @@ class NhkBaseIE(InfoExtractor): | ||||
|                     m3u8_id='hls', fatal=False) | ||||
|                 for f in info['formats']: | ||||
|                     f['language'] = lang | ||||
|                 self._sort_formats(info['formats']) | ||||
|             else: | ||||
|                 info.update({ | ||||
|                     '_type': 'url_transparent', | ||||
|   | ||||
| @@ -167,7 +167,7 @@ class PikselIE(InfoExtractor): | ||||
|                 re.sub(r'/od/[^/]+/', '/od/http/', smil_url), video_id, | ||||
|                 transform_source=transform_source, fatal=False)) | ||||
|  | ||||
|         self._sort_formats(formats) | ||||
|         self._sort_formats(formats, ('tbr', ))  # Incomplete resolution information | ||||
|  | ||||
|         subtitles = {} | ||||
|         for caption in video_data.get('captions', []): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan