aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/odnoklassniki.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-02 22:09:33 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-02 22:09:33 +0600
commite8dcfa3d698fd328760e40f6a76f99c45dfcdc85 (patch)
tree7c834d2e1cc6a7640cf78858e9b510e32e094247 /youtube_dl/extractor/odnoklassniki.py
parent88720ed09b7921c967432fc3f4aa7a994e8028a5 (diff)
[ok] Sort formats
Diffstat (limited to 'youtube_dl/extractor/odnoklassniki.py')
-rw-r--r--youtube_dl/extractor/odnoklassniki.py1
1 files changed, 1 insertions, 0 deletions
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