1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-26 10:47:42 +00:00

[iprima] Use centralized format sorting

This commit is contained in:
Philipp Hagemeister 2014-02-04 10:24:00 +01:00
parent c79ef8e1ae
commit 91264ce572

View file

@ -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),
}
}