]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[rutv] Extract all m3u8 formats
authorSergey M․ <dstftw@gmail.com>
Sun, 1 Feb 2015 17:48:23 +0000 (23:48 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 1 Feb 2015 17:48:23 +0000 (23:48 +0600)
youtube_dl/extractor/rutv.py

index a73e6f331fc02a8977863a412227681b3838b91a..ef766237bf318d40da067a6a820a725fbe0da286 100644 (file)
@@ -162,10 +162,8 @@ class RUTVIE(InfoExtractor):
                         'vbr': int(quality),
                     }
                 elif transport == 'm3u8':
-                    fmt = {
-                        'url': url,
-                        'ext': 'mp4',
-                    }
+                    formats.extend(self._extract_m3u8_formats(url, video_id, 'mp4'))
+                    continue
                 else:
                     fmt = {
                         'url': url