]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[vimeo] Add another config regex (closes #17690)
authorSergey M․ <dstftw@gmail.com>
Mon, 1 Oct 2018 14:13:43 +0000 (21:13 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 1 Oct 2018 14:13:43 +0000 (21:13 +0700)
youtube_dl/extractor/vimeo.py

index 0a9239b62f16001dd3d058e12a88b6512d7b69d9..88f4d99794e5df73c6383d06b4b5f143a9f76739 100644 (file)
@@ -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)