mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-22 09:05:41 +07:00
[extractor] Deprecate _sort_formats
This commit is contained in:
@@ -43,7 +43,6 @@ def _extract_video(self, content_id, action='olyott_video_play'):
|
||||
|
||||
video_id, video_url = api_response['displayMeta']['contentID'], api_response['displayMeta']['streamURLVideo']
|
||||
formats, subtitles = self._extract_m3u8_formats_and_subtitles(video_url, video_id, 'mp4')
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
@@ -106,7 +105,6 @@ def _extract_series_season(self, season_id, series_title):
|
||||
for episode in episodes:
|
||||
video_id = str(episode['contentID'])
|
||||
formats, subtitles = self._extract_m3u8_formats_and_subtitles(episode['streamURL'], video_id, 'mp4')
|
||||
self._sort_formats(formats)
|
||||
|
||||
yield {
|
||||
'id': video_id,
|
||||
|
||||
Reference in New Issue
Block a user