]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/lnkgo.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / lnkgo.py
index 9ea08ec5a61bf5b4faa6d353b954c946e94181f7..6282d2eaf3f1de2536686bd6b336968a00b3302c 100644 (file)
@@ -67,7 +67,6 @@ def _real_extract(self, url):
         formats = self._extract_m3u8_formats(
             self._M3U8_TEMPL % (prefix, video_info['videoUrl'], video_info.get('secureTokenParams') or ''),
             video_id, 'mp4', 'm3u8_native')
-        self._sort_formats(formats)
 
         return {
             'id': video_id,
@@ -149,7 +148,6 @@ def _real_extract(self, url):
             formats.extend(fmts)
             subtitles = self._merge_subtitles(subtitles, subs)
 
-        self._sort_formats(formats)
         return {
             'id': id,
             'title': video_json.get('title'),