From: Sergey M․ Date: Sun, 18 Oct 2015 13:23:52 +0000 (+0600) Subject: [canalc2] Add ext X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=14bddf35fbe8253e283042630e24b134996b2575;p=youtube-dl [canalc2] Add ext --- diff --git a/youtube_dl/extractor/canalc2.py b/youtube_dl/extractor/canalc2.py index d9137e2ef..ba82bb2b7 100644 --- a/youtube_dl/extractor/canalc2.py +++ b/youtube_dl/extractor/canalc2.py @@ -34,6 +34,7 @@ class Canalc2IE(InfoExtractor): rtmp = re.search(r'^(?Prtmp://[^/]+/(?P.+/))(?Pmp4:.+)$', video_url) formats[0].update({ 'url': rtmp.group('url'), + 'ext': 'flv', 'app': rtmp.group('app'), 'play_path': rtmp.group('play_path'), 'page_url': url,