A feature-rich command-line audio/video downloader
[vimeo] Add another config regex (closes #17690)
Sergey M․85fa80d5f9d8
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.pyindex 0a9239b62f..88f4d99794 100644--- a/youtube_dl/extractor/vimeo.py+++ b/youtube_dl/extractor/vimeo.py@@ -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)