1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 06:35:12 +00:00

[extractor] Deprecate _sort_formats

This commit is contained in:
pukkandan
2022-11-17 10:40:03 +05:30
parent 784320c98c
commit 9f14daf22b
579 changed files with 69 additions and 918 deletions

View File

@@ -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'),
}