]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/ustudio.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / ustudio.py
index fd5dad0fc03b4af2440e210e14e5a119bec0514e..c3aeeb9615c674647dd25dcf6d75b32622281b38 100644 (file)
@@ -39,7 +39,6 @@ def extract(kind):
             } for item in config.findall('./qualities/quality/%s' % kind) if item.get('url')]
 
         formats = extract('video')
-        self._sort_formats(formats)
 
         webpage = self._download_webpage(url, display_id)
 
@@ -98,7 +97,6 @@ def _real_extract(self, url):
                     'width': int_or_none(quality.get('width')),
                     'height': height,
                 })
-        self._sort_formats(formats)
 
         thumbnails = []
         for image in video_data.get('images', []):