]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/toggle.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / toggle.py
index 51a51d84b928b76b0a2caf75c1ab4fea31e5164f..70737337cfdf3662ed913639341eb5495521a137 100644 (file)
@@ -154,7 +154,6 @@ def _real_extract(self, url):
                         and meta.get('Key') == 'Encryption' and meta.get('Value') == '1'):
                     self.report_drm(video_id)
             # Most likely because geo-blocked if no formats and no DRM
-        self._sort_formats(formats)
 
         thumbnails = []
         for picture in info.get('Pictures', []):