[ok] Sort formats

pull/8/head
Sergey M․ 9 years ago
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…
Cancel
Save