mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-22 17:15:39 +07:00
[extractor] Deprecate _sort_formats
This commit is contained in:
@@ -50,8 +50,6 @@ def _extract_movie(self, webpage, video_id, name, is_live):
|
||||
formats = list(self._expand_media(video_id, new_media))
|
||||
is_live = False
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': get_first(movie_stores, 'title'),
|
||||
@@ -113,7 +111,6 @@ def _real_extract(self, url):
|
||||
|
||||
formats = self._extract_m3u8_formats(
|
||||
capture_data.get('source'), video_id, ext='mp4')
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
|
||||
Reference in New Issue
Block a user