aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/iprima.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-02-04 10:24:00 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-02-04 10:24:00 +0100
commit91264ce5728bbe7e560c13dc7a047b083dd67d7e (patch)
tree911be9329ec657652e47dea79d8e5564d35cb2ab /youtube_dl/extractor/iprima.py
parentc79ef8e1ae2868ea02257ed4e3accb9d58df3f2d (diff)
[iprima] Use centralized format sorting
Diffstat (limited to 'youtube_dl/extractor/iprima.py')
-rw-r--r--youtube_dl/extractor/iprima.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.py
index 95557ff10..dde482998 100644
--- 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
+ }