]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[canalc2] Add ext
authorSergey M․ <dstftw@gmail.com>
Sun, 18 Oct 2015 13:23:52 +0000 (19:23 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 18 Oct 2015 13:23:52 +0000 (19:23 +0600)
youtube_dl/extractor/canalc2.py

index d9137e2efc0cee5f75cc8fc74f8184e81300bc81..ba82bb2b73d8f19933e42543b10650124edab11c 100644 (file)
@@ -34,6 +34,7 @@ class Canalc2IE(InfoExtractor):
             rtmp = re.search(r'^(?P<url>rtmp://[^/]+/(?P<app>.+/))(?P<play_path>mp4:.+)$', video_url)
             formats[0].update({
                 'url': rtmp.group('url'),
+                'ext': 'flv',
                 'app': rtmp.group('app'),
                 'play_path': rtmp.group('play_path'),
                 'page_url': url,