mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[canalc2] Add ext
This commit is contained in:
		@@ -34,6 +34,7 @@ class Canalc2IE(InfoExtractor):
 | 
				
			|||||||
            rtmp = re.search(r'^(?P<url>rtmp://[^/]+/(?P<app>.+/))(?P<play_path>mp4:.+)$', video_url)
 | 
					            rtmp = re.search(r'^(?P<url>rtmp://[^/]+/(?P<app>.+/))(?P<play_path>mp4:.+)$', video_url)
 | 
				
			||||||
            formats[0].update({
 | 
					            formats[0].update({
 | 
				
			||||||
                'url': rtmp.group('url'),
 | 
					                'url': rtmp.group('url'),
 | 
				
			||||||
 | 
					                'ext': 'flv',
 | 
				
			||||||
                'app': rtmp.group('app'),
 | 
					                'app': rtmp.group('app'),
 | 
				
			||||||
                'play_path': rtmp.group('play_path'),
 | 
					                'play_path': rtmp.group('play_path'),
 | 
				
			||||||
                'page_url': url,
 | 
					                'page_url': url,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user