diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-11-17 10:40:03 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-11-17 11:40:17 +0530 |
commit | 9f14daf22b4080ae1531a772ee7574959af4e2fa (patch) | |
tree | 44e9d252cc11a8819f9092d31def30c1f9ed3137 /yt_dlp/extractor/masters.py | |
parent | 784320c98c2a7e84d72636bc25f6f54c86f5e481 (diff) | |
download | hypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.tar.lz hypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.tar.xz hypervideo-pre-9f14daf22b4080ae1531a772ee7574959af4e2fa.zip |
[extractor] Deprecate `_sort_formats`
Diffstat (limited to 'yt_dlp/extractor/masters.py')
-rw-r--r-- | yt_dlp/extractor/masters.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/yt_dlp/extractor/masters.py b/yt_dlp/extractor/masters.py index d1ce07f10..716f1c961 100644 --- a/yt_dlp/extractor/masters.py +++ b/yt_dlp/extractor/masters.py @@ -25,7 +25,6 @@ class MastersIE(InfoExtractor): f'https://www.masters.com/relatedcontent/rest/v2/masters_v1/en/content/masters_v1_{video_id}_en', video_id) formats, subtitles = self._extract_m3u8_formats_and_subtitles(traverse_obj(content_resp, ('media', 'm3u8')), video_id, 'mp4') - self._sort_formats(formats) thumbnails = [{'id': name, 'url': url} for name, url in traverse_obj(content_resp, ('images', 0), default={}).items()] |