mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[ok] Sort formats
This commit is contained in:
parent
88720ed09b
commit
e8dcfa3d69
|
@ -135,6 +135,7 @@ class OdnoklassnikiIE(InfoExtractor):
|
||||||
'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 a new issue