]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/rutv.py
Merge tag 'upstream/2015.02.06'
[youtubedl] / youtube_dl / extractor / rutv.py
index f737b4e5fad8cd86e28b094abcb4226927083d2a..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
@@ -191,4 +189,4 @@ class RUTVIE(InfoExtractor):
             'view_count': view_count,
             'duration': duration,
             'formats': formats,
-        }
\ No newline at end of file
+        }