X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/784320c98c2a7e84d72636bc25f6f54c86f5e481..9f14daf22b4080ae1531a772ee7574959af4e2fa:/yt_dlp/extractor/nfhsnetwork.py diff --git a/yt_dlp/extractor/nfhsnetwork.py b/yt_dlp/extractor/nfhsnetwork.py index e6f98b036..febad8fdf 100644 --- a/yt_dlp/extractor/nfhsnetwork.py +++ b/yt_dlp/extractor/nfhsnetwork.py @@ -124,7 +124,6 @@ def _real_extract(self, url): 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 @@ def _real_extract(self, url): 'uploader_url': uploaderPage, 'location': location, 'upload_date': upload_date, - 'is_live': isLive + 'is_live': isLive, + '_format_sort_fields': ('res', 'tbr'), }