]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/lrt.py
Merge pull request #1 from e7appew/python3
[youtubedl] / youtube_dl / extractor / lrt.py
index 863efd896b12afa1b674dfb1bcde6d6ffe0214fb..1072405b30c7663d19ddc4df86f858d94952fda5 100644 (file)
@@ -37,6 +37,7 @@ class LRTIE(InfoExtractor):
             r'file\s*:\s*(["\'])(?P<url>.+?)\1\s*\+\s*location\.hash\.substring\(1\)',
             webpage, 'm3u8 url', group='url')
         formats = self._extract_m3u8_formats(m3u8_url, video_id, 'mp4')
             r'file\s*:\s*(["\'])(?P<url>.+?)\1\s*\+\s*location\.hash\.substring\(1\)',
             webpage, 'm3u8 url', group='url')
         formats = self._extract_m3u8_formats(m3u8_url, video_id, 'mp4')
+        self._sort_formats(formats)
 
         thumbnail = self._og_search_thumbnail(webpage)
         description = self._og_search_description(webpage)
 
         thumbnail = self._og_search_thumbnail(webpage)
         description = self._og_search_description(webpage)