projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0faa45d
)
[Vimeo] Update variable name in hydration JSON pattern
author
dirkf
<fieldhouse@gmx.net>
Thu, 27 Oct 2022 14:33:00 +0000
(14:33 +0000)
committer
GitHub
<noreply@github.com>
Thu, 27 Oct 2022 14:33:00 +0000
(14:33 +0000)
Fixes #31311
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index a66912502e8804b27f1477dad8d6d3c432b41870..853b3840258f6f63281656b8ad62644d70d7de0b 100644
(file)
--- a/
youtube_dl/extractor/vimeo.py
+++ b/
youtube_dl/extractor/vimeo.py
@@
-663,7
+663,7
@@
class VimeoIE(VimeoBaseInfoExtractor):
if '//player.vimeo.com/video/' in url:
config = self._parse_json(self._search_regex(
- r'\b
c
onfig\s*=\s*({.+?})\s*;', webpage, 'info section'), video_id)
+ r'\b
(?:playerC|c)
onfig\s*=\s*({.+?})\s*;', webpage, 'info section'), video_id)
if config.get('view') == 4:
config = self._verify_player_video_password(
redirect_url, video_id, headers)