mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[canalc2] Add ext
This commit is contained in:
parent
ef6c868f23
commit
14bddf35fb
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ def _real_extract(self, url):
|
|||
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…
Reference in a new issue