aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/theta.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/theta.py
parent784320c98c2a7e84d72636bc25f6f54c86f5e481 (diff)
[extractor] Deprecate `_sort_formats`
Diffstat (limited to 'yt_dlp/extractor/theta.py')
-rw-r--r--yt_dlp/extractor/theta.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/yt_dlp/extractor/theta.py b/yt_dlp/extractor/theta.py
index 3ec6b9711..ecf0ea091 100644
--- a/yt_dlp/extractor/theta.py
+++ b/yt_dlp/extractor/theta.py
@@ -41,7 +41,6 @@ class ThetaStreamIE(InfoExtractor):
if data.get('type') != 'embed' and data.get('resolution') in ('master', 'source'))
formats = self._extract_m3u8_formats(m3u8_playlist, channel_id, 'mp4', m3u8_id='hls', live=True)
- self._sort_formats(formats)
channel = try_get(info, lambda x: x['user']['username']) # using this field instead of channel_id due to capitalization
@@ -78,7 +77,6 @@ class ThetaVideoIE(InfoExtractor):
m3u8_playlist = try_get(info, lambda x: x['video_urls'][0]['url'])
formats = self._extract_m3u8_formats(m3u8_playlist, video_id, 'mp4', m3u8_id='hls')
- self._sort_formats(formats)
return {
'id': video_id,