projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88720ed
)
[ok] Sort formats
author
Sergey M․
<dstftw@gmail.com>
Wed, 2 Sep 2015 16:09:33 +0000
(22:09 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 2 Sep 2015 16:09:33 +0000
(22:09 +0600)
youtube_dl/extractor/odnoklassniki.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/odnoklassniki.py
b/youtube_dl/extractor/odnoklassniki.py
index a077b676fc60a1db87c05eb50515b7283e5c8ba4..66520c2c56f102e53fe84c5e9970558b4714247b 100644
(file)
--- 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