1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[life:embed] Sort formats

This commit is contained in:
Sergey M․ 2015-05-10 08:54:50 +06:00
parent 3800b908b1
commit 95eb1adda8

View file

@ -156,6 +156,7 @@ class LifeEmbedIE(InfoExtractor):
'format_id': ext,
'preference': 1,
})
self._sort_formats(formats)
thumbnail = self._search_regex(
r'"image"\s*:\s*"([^"]+)', webpage, 'thumbnail', default=None)