mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[vimeo] Add another config regex (closes #17690)
This commit is contained in:
		| @@ -551,6 +551,7 @@ class VimeoIE(VimeoBaseInfoExtractor): | ||||
|                 else: | ||||
|                     config_re = [r' = {config:({.+?}),assets:', r'(?:[abc])=({.+?});'] | ||||
|                 config_re.append(r'\bvar\s+r\s*=\s*({.+?})\s*;') | ||||
|                 config_re.append(r'\bconfig\s*=\s*({.+?})\s*;') | ||||
|                 config = self._search_regex(config_re, webpage, 'info section', | ||||
|                                             flags=re.DOTALL) | ||||
|                 config = json.loads(config) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․