mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 23:56:51 +01:00
[life:embed] Sort formats
This commit is contained in:
parent
3800b908b1
commit
95eb1adda8
@ -156,6 +156,7 @@ class LifeEmbedIE(InfoExtractor):
|
|||||||
'format_id': ext,
|
'format_id': ext,
|
||||||
'preference': 1,
|
'preference': 1,
|
||||||
})
|
})
|
||||||
|
self._sort_formats(formats)
|
||||||
|
|
||||||
thumbnail = self._search_regex(
|
thumbnail = self._search_regex(
|
||||||
r'"image"\s*:\s*"([^"]+)', webpage, 'thumbnail', default=None)
|
r'"image"\s*:\s*"([^"]+)', webpage, 'thumbnail', default=None)
|
||||||
|
Loading…
Reference in New Issue
Block a user