1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-14 21:45:15 +00:00

[extractor] Deprecate _sort_formats

This commit is contained in:
pukkandan
2022-11-17 10:40:03 +05:30
parent 784320c98c
commit 9f14daf22b
579 changed files with 69 additions and 918 deletions

View File

@@ -80,7 +80,6 @@ class RedBullTVIE(InfoExtractor):
formats, subtitles = self._extract_m3u8_formats_and_subtitles(
'https://dms.redbull.tv/v3/%s/%s/playlist.m3u8' % (video_id, token),
video_id, 'mp4', entry_protocol='m3u8_native', m3u8_id='hls')
self._sort_formats(formats)
for resource in video.get('resources', []):
if resource.startswith('closed_caption_'):