mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[liveleak] Improve regex for restoring original video URL
This commit is contained in:
		| @@ -95,7 +95,7 @@ class LiveLeakIE(InfoExtractor): | ||||
|             'url': s['file'], | ||||
|         } for i, s in enumerate(sources)] | ||||
|         for i, s in enumerate(sources): | ||||
|             orig_url = re.sub(r'.h264_.+\.mp4', '', s['file']) | ||||
|             orig_url = re.sub(r'\.h264_.+?\.mp4', '', s['file']) | ||||
|             if s['file'] != orig_url: | ||||
|                 formats.append({ | ||||
|                     'format_id': 'original-%s' % i, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․