[vimeo] fix vimeo pro embed extraction(closes #29126)
parent
dfbbe2902f
commit
1980ff4550
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue