1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +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

@ -133,7 +133,6 @@ class TwitchBaseIE(InfoExtractor):
'quality': 10,
'format_note': 'Source',
})
self._sort_formats(formats)
def _download_base_gql(self, video_id, ops, note, fatal=True):
headers = {
@ -1144,7 +1143,6 @@ class TwitchClipsIE(TwitchBaseIE):
'height': int_or_none(option.get('quality')),
'fps': int_or_none(option.get('frameRate')),
})
self._sort_formats(formats)
thumbnails = []
for thumbnail_id in ('tiny', 'small', 'medium'):