]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/mildom.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / mildom.py
index c7a61dfa0a1be1977041db26628e26e833d1e765..f64d575dcc8126f797bdf4e09804c0ca2d5ae28c 100644 (file)
@@ -74,8 +74,6 @@ def _real_extract(self, url):
         for fmt in formats:
             fmt.setdefault('http_headers', {})['Referer'] = 'https://www.mildom.com/'
 
-        self._sort_formats(formats)
-
         return {
             'id': result_video_id,
             'title': self._html_search_meta('twitter:description', webpage, default=None) or traverse_obj(enterstudio, 'anchor_intro'),
@@ -166,8 +164,6 @@ def _real_extract(self, url):
                 'ext': 'mp4'
             })
 
-        self._sort_formats(formats)
-
         return {
             'id': video_id,
             'title': self._html_search_meta(('og:description', 'description'), webpage, default=None) or autoplay.get('title'),