1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-26 04:02:11 +00:00

[ok] Sort formats

This commit is contained in:
Sergey M․ 2015-09-02 22:09:33 +06:00
parent 88720ed09b
commit e8dcfa3d69

View file

@ -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