From: Sergey M․ Date: Wed, 2 Sep 2015 16:09:33 +0000 (+0600) Subject: [ok] Sort formats X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=e8dcfa3d698fd328760e40f6a76f99c45dfcdc85;p=youtube-dl [ok] Sort formats --- diff --git a/youtube_dl/extractor/odnoklassniki.py b/youtube_dl/extractor/odnoklassniki.py index a077b676f..66520c2c5 100644 --- a/youtube_dl/extractor/odnoklassniki.py +++ b/youtube_dl/extractor/odnoklassniki.py @@ -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