From: pulpe Date: Wed, 22 Apr 2015 21:55:19 +0000 (+0200) Subject: [vimeo] one token overlooked X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=14a2d6789f24ce6f6565747a48ffe7728d5a2251;p=youtube-dl [vimeo] one token overlooked --- 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)