[ok] Sort formats

pull/2/head
Sergey M․ 9 years ago
parent 88720ed09b
commit e8dcfa3d69

@ -135,6 +135,7 @@ class OdnoklassnikiIE(InfoExtractor):
'format_id': f['name'],
'quality': quality(f['name']),
} for f in metadata['videos']]
self._sort_formats(formats)
info['formats'] = formats
return info

Loading…
Cancel
Save