mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 11:42:43 +01:00
[ok] Sort formats
This commit is contained in:
parent
88720ed09b
commit
e8dcfa3d69
@ -135,6 +135,7 @@ def _real_extract(self, url):
|
|||||||
'format_id': f['name'],
|
'format_id': f['name'],
|
||||||
'quality': quality(f['name']),
|
'quality': quality(f['name']),
|
||||||
} for f in metadata['videos']]
|
} for f in metadata['videos']]
|
||||||
|
self._sort_formats(formats)
|
||||||
|
|
||||||
info['formats'] = formats
|
info['formats'] = formats
|
||||||
return info
|
return info
|
||||||
|
Loading…
Reference in New Issue
Block a user