Browse Source

[life:embed] Sort formats

totalwebcasting
Sergey M․ 9 years ago
parent
commit
95eb1adda8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/lifenews.py

+ 1
- 0
youtube_dl/extractor/lifenews.py View 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)


Loading…
Cancel
Save