[spiegel] Use centralized sorting
This commit is contained in:
parent
719d3927d7
commit
e6812ac99d
2 changed files with 7 additions and 1 deletions
|
@ -51,9 +51,10 @@ class SpiegelIE(InfoExtractor):
|
|||
# Blacklist type 6, it's extremely LQ and not available on the same server
|
||||
if n.tag.startswith('type') and n.tag != 'type6'
|
||||
]
|
||||
formats.sort(key=lambda f: f['vbr'])
|
||||
duration = float(idoc[0].findall('./duration')[0].text)
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
info = {
|
||||
'id': video_id,
|
||||
'title': video_title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue