From: Sergey M․ Date: Mon, 1 Oct 2018 14:13:43 +0000 (+0700) Subject: [vimeo] Add another config regex (closes #17690) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=85fa80d5f9d867bab706b92d15a6c9ad5b862b47;p=youtube-dl [vimeo] Add another config regex (closes #17690) --- 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)