From: dirkf Date: Thu, 27 Oct 2022 14:33:00 +0000 (+0000) Subject: [Vimeo] Update variable name in hydration JSON pattern X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=502cefa41f1d24057b6158748b2072dc911af682;p=youtube-dl [Vimeo] Update variable name in hydration JSON pattern Fixes #31311 --- 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)