projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef6c868
)
[canalc2] Add ext
author
Sergey M․
<dstftw@gmail.com>
Sun, 18 Oct 2015 13:23:52 +0000
(19:23 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 18 Oct 2015 13:23:52 +0000
(19:23 +0600)
youtube_dl/extractor/canalc2.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/canalc2.py
b/youtube_dl/extractor/canalc2.py
index d9137e2efc0cee5f75cc8fc74f8184e81300bc81..ba82bb2b73d8f19933e42543b10650124edab11c 100644
(file)
--- 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,