projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
245cbb3
)
[vimeo] Add another config regex (closes #17690)
author
Sergey M․
<dstftw@gmail.com>
Mon, 1 Oct 2018 14:13:43 +0000
(21:13 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 1 Oct 2018 14:13:43 +0000
(21:13 +0700)
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 0a9239b62f16001dd3d058e12a88b6512d7b69d9..88f4d99794e5df73c6383d06b4b5f143a9f76739 100644
(file)
--- a/
youtube_dl/extractor/vimeo.py
+++ b/
youtube_dl/extractor/vimeo.py
@@
-551,6
+551,7
@@
class VimeoIE(VimeoBaseInfoExtractor):
else:
config_re = [r' = {config:({.+?}),assets:', r'(?:[abc])=({.+?});']
config_re.append(r'\bvar\s+r\s*=\s*({.+?})\s*;')
+ config_re.append(r'\bconfig\s*=\s*({.+?})\s*;')
config = self._search_regex(config_re, webpage, 'info section',
flags=re.DOTALL)
config = json.loads(config)