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/rtl2.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/rtl2.py')
-rw-r--r-- | yt_dlp/extractor/rtl2.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/yt_dlp/extractor/rtl2.py b/yt_dlp/extractor/rtl2.py index afa0d33cf..056cf87d2 100644 --- a/yt_dlp/extractor/rtl2.py +++ b/yt_dlp/extractor/rtl2.py @@ -94,8 +94,6 @@ class RTL2IE(InfoExtractor): if m3u8_url: formats.extend(self._extract_akamai_formats(m3u8_url, display_id)) - self._sort_formats(formats) - return { 'id': display_id, 'title': title, @@ -142,7 +140,6 @@ class RTL2YouIE(RTL2YouBaseIE): raise ExtractorError('video not found', expected=True) formats = self._extract_m3u8_formats(stream_url.decode(), video_id, 'mp4', 'm3u8_native') - self._sort_formats(formats) video_data = self._download_json( self._BACKWERK_BASE_URL + 'video/' + video_id, video_id) |