projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7513f29
)
[vimeo] one token overlooked
author
pulpe
<Pulpan3@gmail.com>
Wed, 22 Apr 2015 21:55:19 +0000
(23:55 +0200)
committer
pulpe
<Pulpan3@gmail.com>
Wed, 22 Apr 2015 21:55:19 +0000
(23:55 +0200)
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 55c1574bb8374030ee0cd1af7eaa5a5746bb28bc..9027f9dd6f87b9ff48e6d073675c014d607b0bda 100644
(file)
--- a/
youtube_dl/extractor/vimeo.py
+++ b/
youtube_dl/extractor/vimeo.py
@@
-439,7
+439,7
@@
class VimeoChannelIE(InfoExtractor):
name="([^"]+)"\s+
value="([^"]*)"
''', login_form))
- token = self._search_regex(r'xsrft
= \'(.*?)\'
', webpage, 'login token')
+ token = self._search_regex(r'xsrft
":"(.*?)"
', webpage, 'login token')
fields['token'] = token
fields['password'] = password
post = urlencode_postdata(fields)