]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[ok] Sort formats
authorSergey M․ <dstftw@gmail.com>
Wed, 2 Sep 2015 16:09:33 +0000 (22:09 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 2 Sep 2015 16:09:33 +0000 (22:09 +0600)
youtube_dl/extractor/odnoklassniki.py

index a077b676fc60a1db87c05eb50515b7283e5c8ba4..66520c2c56f102e53fe84c5e9970558b4714247b 100644 (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