aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/viu.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-11-17 10:40:03 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-11-17 11:40:17 +0530
commit9f14daf22b4080ae1531a772ee7574959af4e2fa (patch)
tree44e9d252cc11a8819f9092d31def30c1f9ed3137 /yt_dlp/extractor/viu.py
parent784320c98c2a7e84d72636bc25f6f54c86f5e481 (diff)
downloadhypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.tar.lz
hypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.tar.xz
hypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.zip
[extractor] Deprecate `_sort_formats`
Diffstat (limited to 'yt_dlp/extractor/viu.py')
-rw-r--r--yt_dlp/extractor/viu.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/yt_dlp/extractor/viu.py b/yt_dlp/extractor/viu.py
index d27091c94..19d48234e 100644
--- a/yt_dlp/extractor/viu.py
+++ b/yt_dlp/extractor/viu.py
@@ -86,7 +86,6 @@ class ViuIE(ViuBaseIE):
# r'\1whe\2', video_data['href'])
m3u8_url = video_data['href']
formats, subtitles = self._extract_m3u8_formats_and_subtitles(m3u8_url, video_id, 'mp4')
- self._sort_formats(formats)
for key, value in video_data.items():
mobj = re.match(r'^subtitle_(?P<lang>[^_]+)_(?P<ext>(vtt|srt))', key)
@@ -365,7 +364,6 @@ class ViuOTTIE(InfoExtractor):
'ext': 'mp4',
'filesize': try_get(stream_data, lambda x: x['size'][vid_format], int)
})
- self._sort_formats(formats)
subtitles = {}
for sub in video_data.get('subtitle') or []: