aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-10 08:54:50 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-10 08:54:50 +0600
commit95eb1adda8692a61db639fb21344ad22d1847044 (patch)
tree5b7e5f2cb21677f90b0b1b687f9fdec1bbcf9885
parent3800b908b1976f242b41d5a2d114418559ce3b48 (diff)
[life:embed] Sort formats
-rw-r--r--youtube_dl/extractor/lifenews.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/lifenews.py b/youtube_dl/extractor/lifenews.py
index 7f39fa4cf..42cb6e35f 100644
--- 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)