Skip to content

Commit

Permalink
[Vimeo] Update variable name in hydration JSON pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkf authored and aidankang committed Sep 25, 2023
1 parent 00ef748 commit cfbbbe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/vimeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ def _real_extract(self, url):

if '//player.vimeo.com/video/' in url:
config = self._parse_json(self._search_regex(
r'(?s)\b(?:playerC|c)onfig\s*=\s*({.+?})\s*[;\n]', 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)
Expand Down

0 comments on commit cfbbbe7

Please sign in to comment.