projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[life:embed] Sort formats
[youtube-dl]
/
youtube_dl
/
extractor
/
lifenews.py
diff --git
a/youtube_dl/extractor/lifenews.py
b/youtube_dl/extractor/lifenews.py
index 7f39fa4cfa8e6dada3a5d459a326fa4c07ef19b0..42cb6e35f821256e90c8eef4f176812e3e0f42d0 100644
(file)
--- a/
youtube_dl/extractor/lifenews.py
+++ b/
youtube_dl/extractor/lifenews.py
@@
-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)