1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +01:00

[canalc2] Add ext

This commit is contained in:
Sergey M․ 2015-10-18 19:23:52 +06:00
parent ef6c868f23
commit 14bddf35fb

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,