[life:embed] Sort formats
authorSergey M․ <dstftw@gmail.com>
Sun, 10 May 2015 02:54:50 +0000 (08:54 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 10 May 2015 02:54:50 +0000 (08:54 +0600)
youtube_dl/extractor/lifenews.py

index 7f39fa4cfa8e6dada3a5d459a326fa4c07ef19b0..42cb6e35f821256e90c8eef4f176812e3e0f42d0 100644 (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)