mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-30 07:38:18 +01:00
[vimeo] fix vimeo pro embed extraction(closes #29126)
This commit is contained in:
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
Block a user