]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/xinpianchang.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / xinpianchang.py
index 9832d23985ef9896bc58feed26765a43e243f232..ddc1d0b5afcafe25e5fbe14df85d9a7f7d832f30 100644 (file)
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
 from .common import InfoExtractor
 from ..utils import (
     int_or_none,
@@ -75,8 +72,6 @@ def _real_extract(self, url):
                     'ext': 'mp4',
                 } for prog in v if prog.get('url') or []])
 
-        self._sort_formats(formats)
-
         return {
             'id': video_id,
             'title': data.get('title'),