projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7cab4d
)
[vimeo] Fix authentication (Closes #8520)
author
Sergey M․
<dstftw@gmail.com>
Thu, 11 Feb 2016 21:16:26 +0000
(
03:16
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 11 Feb 2016 21:16:26 +0000
(
03:16
+0600)
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 2389e7f0f4af5b828f76f17765fa4bcf61b424f8..6a8f9b49dd575d8d10505432154c13cf60fc7a5c 100644
(file)
--- a/
youtube_dl/extractor/vimeo.py
+++ b/
youtube_dl/extractor/vimeo.py
@@
-57,7
+57,7
@@
class VimeoBaseInfoExtractor(InfoExtractor):
def _extract_xsrft_and_vuid(self, webpage):
xsrft = self._search_regex(
- r'
xsrft\s*[=:]
\s*(?P<q>["\'])(?P<xsrft>.+?)(?P=q)',
+ r'
(?:(?P<q1>["\'])xsrft(?P=q1)\s*:|xsrft\s*[=:])
\s*(?P<q>["\'])(?P<xsrft>.+?)(?P=q)',
webpage, 'login token', group='xsrft')
vuid = self._search_regex(
r'["\']vuid["\']\s*:\s*(["\'])(?P<vuid>.+?)\1',