mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[iprima] Use centralized format sorting
This commit is contained in:
parent
c79ef8e1ae
commit
91264ce572
1 changed files with 4 additions and 2 deletions
|
@ -72,7 +72,9 @@ def _real_extract(self, url):
|
|||
'play_path': 'mp4:'+filename.replace('"', '')[:-4],
|
||||
'rtmp_live': True,
|
||||
'ext': 'flv',
|
||||
})
|
||||
})
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': real_id,
|
||||
|
@ -80,4 +82,4 @@ def _real_extract(self, url):
|
|||
'thumbnail': self._og_search_thumbnail(webpage),
|
||||
'formats': formats,
|
||||
'description': self._og_search_description(webpage),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue