]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/vimm.py
[ie/youtube] Suppress "Unavailable videos are hidden" warning (#10159)
[yt-dlp.git] / yt_dlp / extractor / vimm.py
index 060b92ba60ef60964f98a18c6333af362cae4fe9..7097149a55289a26f0ece0cd93480eedcbfe236f 100644 (file)
@@ -1,4 +1,3 @@
-# coding: utf-8
 from .common import InfoExtractor
 
 
@@ -24,7 +23,6 @@ def _real_extract(self, url):
 
         formats, subs = self._extract_m3u8_formats_and_subtitles(
             f'https://www.vimm.tv/hls/{channel_id}.m3u8', channel_id, 'mp4', m3u8_id='hls', live=True)
-        self._sort_formats(formats)
 
         return {
             'id': channel_id,
@@ -57,7 +55,6 @@ def _real_extract(self, url):
 
         formats, subs = self._extract_m3u8_formats_and_subtitles(
             f'https://d211qfrkztakg3.cloudfront.net/{channel_id}/{video_id}/index.m3u8', video_id, 'mp4', m3u8_id='hls', live=False)
-        self._sort_formats(formats)
 
         return {
             'id': video_id,