We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
config
1 parent e1f5685 commit 4bcc924Copy full SHA for 4bcc924
youtube_dl/extractor/vimeo.py
@@ -673,8 +673,8 @@ def _real_extract(self, url):
673
raise
674
675
if '//player.vimeo.com/video/' in url:
676
- config = self._parse_json(self._search_regex(
677
- r'(?s)\b(?:playerC|c)onfig\s*=\s*({.+?})\s*[;\n]', webpage, 'info section'), video_id)
+ config = self._search_json(
+ r'\b(?:playerC|c)onfig\s*=', webpage, 'info section', video_id)
678
if config.get('view') == 4:
679
config = self._verify_player_video_password(
680
redirect_url, video_id, headers)
0 commit comments