[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 New Issue