aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/lifenews.py
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 /youtube_dl/extractor/lifenews.py
parent3800b908b1976f242b41d5a2d114418559ce3b48 (diff)
downloadyoutube-dl-95eb1adda8692a61db639fb21344ad22d1847044.zip
youtube-dl-95eb1adda8692a61db639fb21344ad22d1847044.tar.gz
youtube-dl-95eb1adda8692a61db639fb21344ad22d1847044.tar.bz2
[life:embed] Sort formats
Diffstat (limited to 'youtube_dl/extractor/lifenews.py')
-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 7f39fa4..42cb6e3 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)