projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c79ef8e
)
[iprima] Use centralized format sorting
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 4 Feb 2014 09:24:00 +0000
(10:24 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 4 Feb 2014 09:24:00 +0000
(10:24 +0100)
youtube_dl/extractor/iprima.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/iprima.py
b/youtube_dl/extractor/iprima.py
index 95557ff10d05fc3c50399d6de05fb9d4ae1ff9a9..dde4829981a7adab396a040ccc1566277c39194b 100644
(file)
--- a/
youtube_dl/extractor/iprima.py
+++ b/
youtube_dl/extractor/iprima.py
@@
-72,7
+72,9
@@
class IPrimaIE(InfoExtractor):
'play_path': 'mp4:'+filename.replace('"', '')[:-4],
'rtmp_live': True,
'ext': 'flv',
- })
+ })
+
+ self._sort_formats(formats)
return {
'id': real_id,
@@
-80,4
+82,4
@@
class IPrimaIE(InfoExtractor):
'thumbnail': self._og_search_thumbnail(webpage),
'formats': formats,
'description': self._og_search_description(webpage),
- }
\ No newline at end of file
+ }