]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/mildom.py
[ie/crunchyroll] Fix stream extraction (#10005)
[yt-dlp.git] / yt_dlp / extractor / mildom.py
index 4de8e9ef4d7d4a25a50350f3ea61f6d56d43e3c8..f64d575dcc8126f797bdf4e09804c0ca2d5ae28c 100644 (file)
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
 import functools
 import json
 import uuid
@@ -77,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'),
@@ -169,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'),