mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 11:41:52 +00:00
[vimeo] fix vimeo pro embed extraction(closes #29126)
This commit is contained in:
parent
dfbbe2902f
commit
1980ff4550
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue