diff options
| author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-11-22 18:20:31 +0100 | 
|---|---|---|
| committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-11-22 18:20:31 +0100 | 
| commit | 241650c7ff8afa7236598d0f95d20c0898abc02c (patch) | |
| tree | b4ce54f13675da5dc0c264a15a2f2aa90e50c2c8 | |
| parent | bfe7439a2076452a70946ac146be463fa7277d67 (diff) | |
[vimeo] Fix the extraction of vimeo pro and player.vimeo.com videos
| -rw-r--r-- | youtube_dl/extractor/vimeo.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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: | 
