diff options
author | dirkf <[email protected]> | 2022-10-27 14:33:00 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-27 14:33:00 +0000 |
commit | 502cefa41f1d24057b6158748b2072dc911af682 (patch) | |
tree | c7d521ee2e4ae99712a93c520e62dae3fd6852cc | |
parent | 0faa45d6c08f518b73d20e341944ea7292f9f2b2 (diff) | |
download | youtube-dl-502cefa41f1d24057b6158748b2072dc911af682.tar.gz youtube-dl-502cefa41f1d24057b6158748b2072dc911af682.zip |
[Vimeo] Update variable name in hydration JSON pattern
Fixes #31311
-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 a66912502..853b38402 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -663,7 +663,7 @@ class VimeoIE(VimeoBaseInfoExtractor): if '//player.vimeo.com/video/' in url: config = self._parse_json(self._search_regex( - r'\bconfig\s*=\s*({.+?})\s*;', webpage, 'info section'), video_id) + r'\b(?:playerC|c)onfig\s*=\s*({.+?})\s*;', webpage, 'info section'), video_id) if config.get('view') == 4: config = self._verify_player_video_password( redirect_url, video_id, headers) |