aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-10-18 19:23:52 +0600
committerSergey M․ <dstftw@gmail.com>2015-10-18 19:23:52 +0600
commit14bddf35fbe8253e283042630e24b134996b2575 (patch)
tree3b3ec81310700f468fb8d5c6f9fc28d68f53f0ac
parentef6c868f23f2fe0d493831e0d4cba71c735bd160 (diff)
[canalc2] Add ext
-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,