]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/orf.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / orf.py
index 24abf7f26c2ed7e62b2d528c8f9bf70b3cd14a7f..e9d23a4d12c53cf504a282827bddd012fff3cb8e 100644 (file)
@@ -134,8 +134,6 @@ def _pagefunc(self, url, data_jsb, n, *, image=None):
                 HEADRequest(http_url), video_id, fatal=False, note='Testing for geoblocking',
                 errnote=f'This video seems to be blocked outside of {geo_str}. You may want to try the streaming-* formats')
 
-        self._sort_formats(formats)
-
         subtitles = {}
         for sub in sd.get('subtitles', []):
             sub_src = sub.get('src')
@@ -407,7 +405,6 @@ def _real_extract(self, url):
                     format_url, video_id, 'mp4', m3u8_id=format_id))
             else:
                 continue
-        self._sort_formats(formats)
 
         title = remove_end(self._og_search_title(webpage), ' - iptv.ORF.at')
         description = self._og_search_description(webpage)
@@ -507,7 +504,6 @@ def _real_extract(self, url):
                         format_url, video_id, 'mp4', m3u8_id=format_id))
                 else:
                     continue
-            self._sort_formats(formats)
 
             title = remove_end(self._og_search_title(webpage), ' - fm4.ORF.at')
             if idx >= 1: