mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-09 18:40:44 +00:00
[extractor] Deprecate _sort_formats
This commit is contained in:
@@ -124,7 +124,6 @@ class NFHSNetworkIE(InfoExtractor):
|
||||
video_id).get('video_url')
|
||||
|
||||
formats = self._extract_m3u8_formats(m3u8_url, video_id, 'mp4', live=isLive)
|
||||
self._sort_formats(formats, ['res', 'tbr'])
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
@@ -137,5 +136,6 @@ class NFHSNetworkIE(InfoExtractor):
|
||||
'uploader_url': uploaderPage,
|
||||
'location': location,
|
||||
'upload_date': upload_date,
|
||||
'is_live': isLive
|
||||
'is_live': isLive,
|
||||
'_format_sort_fields': ('res', 'tbr'),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user