projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3800b90
)
[life:embed] Sort formats
author
Sergey M․
<dstftw@gmail.com>
Sun, 10 May 2015 02:54:50 +0000
(08:54 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 10 May 2015 02:54:50 +0000
(08:54 +0600)
youtube_dl/extractor/lifenews.py
patch
|
blob
|
history
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)