aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpulpe <Pulpan3@gmail.com>2015-04-22 23:55:19 +0200
committerpulpe <Pulpan3@gmail.com>2015-04-22 23:55:19 +0200
commit14a2d6789f24ce6f6565747a48ffe7728d5a2251 (patch)
treeec34b501477f4aed2c4ab9682a5c1ce867ab3f20
parent7513f298b04eb11ab6c0bd0845b7a3b221bee317 (diff)
[vimeo] one token overlooked
-rw-r--r--youtube_dl/extractor/vimeo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py
index 55c1574bb..9027f9dd6 100644
--- 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)