]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/kuwo.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / kuwo.py
index 0c9518e66144659620b92f92e3d9992583caf9d5..cfec1c50f62863de99fdc3345866d2153c57096a 100644 (file)
@@ -104,7 +104,6 @@ def _real_extract(self, url):
             lrc_content = None
 
         formats = self._get_formats(song_id)
-        self._sort_formats(formats)
 
         album_id = self._html_search_regex(
             r'<a[^>]+href="http://www\.kuwo\.cn/album/(\d+)/"',
@@ -339,8 +338,6 @@ def _real_extract(self, url):
             'format_id': 'mv',
         })
 
-        self._sort_formats(formats)
-
         return {
             'id': song_id,
             'title': song_name,