From e8dcfa3d698fd328760e40f6a76f99c45dfcdc85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Wed, 2 Sep 2015 22:09:33 +0600 Subject: [PATCH] [ok] Sort formats --- youtube_dl/extractor/odnoklassniki.py | 1 + 1 file changed, 1 insertion(+) 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