]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/japandiet.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / japandiet.py
index f2f50db7a72759b78df65b25edeffb81c330c5dd..6c650568acda79b96cc1f02fad5a430f2903b1c3 100644 (file)
@@ -122,7 +122,6 @@ def _real_extract(self, url):
         formats, subtitles = self._extract_m3u8_formats_and_subtitles(
             f'https://hlslive.shugiintv.go.jp/{room_id}/amlst:{room_id}/playlist.m3u8',
             room_id, ext='mp4')
-        self._sort_formats(formats)
 
         return {
             'id': room_id,
@@ -160,7 +159,6 @@ def _real_extract(self, url):
         m3u8_url = re.sub(r'^http://', 'https://', m3u8_url)
         formats, subtitles = self._extract_m3u8_formats_and_subtitles(
             m3u8_url, video_id, ext='mp4')
-        self._sort_formats(formats)
 
         title = self._html_search_regex(
             (r'<td\s+align="left">(.+)\s*\(\d+分\)',
@@ -264,7 +262,6 @@ def _real_extract(self, url):
             'm3u8 url', group=2)
 
         formats, subs = self._extract_m3u8_formats_and_subtitles(m3u8_url, video_id, 'mp4')
-        self._sort_formats(formats)
 
         return {
             'id': video_id,