mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
[extractor] Deprecate _sort_formats
This commit is contained in:
@@ -95,7 +95,6 @@ def _real_extract(self, url):
|
||||
'tbr': stream_info.get('bitrate'),
|
||||
'http_headers': self._HEADERS,
|
||||
})
|
||||
self._sort_formats(formats)
|
||||
|
||||
info = {
|
||||
'id': program_id,
|
||||
@@ -222,7 +221,6 @@ def _real_extract(self, url):
|
||||
'url': play_url,
|
||||
'http_headers': self._HEADERS,
|
||||
})
|
||||
self._sort_formats(formats)
|
||||
|
||||
category = vod_info.get('categoryName')
|
||||
get_count = lambda x: int_or_none(vod_info.get(x + 'Num'))
|
||||
|
||||
Reference in New Issue
Block a user