aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/canalc2.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/canalc2.py')
-rw-r--r--youtube_dl/extractor/canalc2.py1
1 files changed, 1 insertions, 0 deletions
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'^(?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,