]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/iwara.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / iwara.py
index f99e22fab641296848e02c06c6b5b44203703323..ec3e59c6d0024c13ee312a306c85736367ad5fe5 100644 (file)
@@ -1,16 +1,16 @@
 import itertools
 import re
-import urllib
+import urllib.parse
 
 from .common import InfoExtractor
 from ..utils import (
     int_or_none,
     mimetype2ext,
     remove_end,
+    strip_or_none,
+    unified_strdate,
     url_or_none,
     urljoin,
-    unified_strdate,
-    strip_or_none,
 )
 
 
@@ -116,8 +116,6 @@ def _real_extract(self, url):
                 'quality': 1 if format_id == 'Source' else 0,
             })
 
-        self._sort_formats(formats)
-
         return {
             'id': video_id,
             'title': title,