]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/rtl2.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / rtl2.py
index afa0d33cf5f1861f854c86d830e74fe0d6f1243c..056cf87d2929198ed783aa2841786fad9bef1d53 100644 (file)
@@ -94,8 +94,6 @@ def _real_extract(self, url):
         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 @@ def _real_extract(self, url):
             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)