[vimeo] fix vimeo pro embed extraction(closes #29126)

pull/29146/head
Remita Amine 2021-05-26 11:04:39 +01:00
parent dfbbe2902f
commit 1980ff4550
1 changed files with 1 additions and 1 deletions

View File

@ -647,7 +647,7 @@ class VimeoIE(VimeoBaseInfoExtractor):
expected=True) expected=True)
raise raise
if '://player.vimeo.com/video/' in url: if '//player.vimeo.com/video/' in url:
config = self._parse_json(self._search_regex( config = self._parse_json(self._search_regex(
r'\bconfig\s*=\s*({.+?})\s*;', webpage, 'info section'), video_id) r'\bconfig\s*=\s*({.+?})\s*;', webpage, 'info section'), video_id)
if config.get('view') == 4: if config.get('view') == 4: