summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-10-01 21:13:43 +0700
committerSergey M․ <dstftw@gmail.com>2018-10-01 21:13:43 +0700
commit85fa80d5f9d867bab706b92d15a6c9ad5b862b47 (patch)
treecb2c773ba98fe6737bc21822e24c3d19102b44af
parent245cbb33bcb7d519c897277e65acdcbc45335233 (diff)
downloadyoutube-dl-85fa80d5f9d867bab706b92d15a6c9ad5b862b47.tar.gz
youtube-dl-85fa80d5f9d867bab706b92d15a6c9ad5b862b47.tar.xz
youtube-dl-85fa80d5f9d867bab706b92d15a6c9ad5b862b47.zip
[vimeo] Add another config regex (closes #17690)
-rw-r--r--youtube_dl/extractor/vimeo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py
index 0a9239b62..88f4d9979 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)