mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[life:embed] Sort formats
This commit is contained in:
parent
3800b908b1
commit
95eb1adda8
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ def _real_extract(self, url):
|
|||
'format_id': ext,
|
||||
'preference': 1,
|
||||
})
|
||||
self._sort_formats(formats)
|
||||
|
||||
thumbnail = self._search_regex(
|
||||
r'"image"\s*:\s*"([^"]+)', webpage, 'thumbnail', default=None)
|
||||
|
|
Loading…
Reference in a new issue