Browse Source

[canalc2] Add ext

totalwebcasting
Sergey M․ 9 years ago
parent
commit
14bddf35fb
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/canalc2.py

+ 1
- 0
youtube_dl/extractor/canalc2.py View 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,


Loading…
Cancel
Save