[vimeo] Fix the extraction of vimeo pro and player.vimeo.com videos
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 22 Nov 2013 17:20:31 +0000 (18:20 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 22 Nov 2013 17:20:31 +0000 (18:20 +0100)
youtube_dl/extractor/vimeo.py

index d465bf20b6d65b7b5cd3a0545af676c2c710a07d..7d82c2cfa84bd9b57b7ebc9eb35537b4033ba45d 100644 (file)
@@ -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: