From: Jaime Marquínez Ferrándiz Date: Fri, 22 Nov 2013 17:20:31 +0000 (+0100) Subject: [vimeo] Fix the extraction of vimeo pro and player.vimeo.com videos X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=241650c7ff8afa7236598d0f95d20c0898abc02c;p=youtube-dl.git [vimeo] Fix the extraction of vimeo pro and player.vimeo.com videos --- diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index d465bf20b..7d82c2cfa 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -151,7 +151,7 @@ class VimeoIE(InfoExtractor): config = json.loads(config_json) except RegexNotFoundError: # For pro videos or player.vimeo.com urls - config = self._search_regex([r' = {config:({.+?}),assets:', r'c=({.+?);'], + config = self._search_regex([r' = {config:({.+?}),assets:', r'(?:c|b)=({.+?});'], webpage, u'info section', flags=re.DOTALL) config = json.loads(config) except Exception as e: