Skip to content

A feature-rich command-line audio/video downloader

[iprima] Use centralized format sorting

Philipp Hagemeister91264ce5728b
diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.py
index 95557ff10d..dde4829981 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
+ }