mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 14:37:43 +01:00
[vimeo] Fix the extraction of vimeo pro and player.vimeo.com videos
This commit is contained in:
parent
bfe7439a20
commit
241650c7ff
@ -151,7 +151,7 @@ def _real_extract(self, url, new_video=True):
|
||||
config = json.loads(config_json)
|
||||
except RegexNotFoundError:
|
||||
# For pro videos or player.vimeo.com urls
|
||||
config = self._search_regex([r' = {config:({.+?}),assets:', r'c=({.+?);'],
|
||||
config = self._search_regex([r' = {config:({.+?}),assets:', r'(?:c|b)=({.+?});'],
|
||||
webpage, u'info section', flags=re.DOTALL)
|
||||
config = json.loads(config)
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user