From: Jaime Marquínez Ferrándiz Date: Thu, 12 Mar 2015 17:45:00 +0000 (+0100) Subject: [vimeo] Fix login (#3886) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=b84037013edf25866772ba12db3b0c55f94a3e12;p=youtube-dl.git [vimeo] Fix login (#3886) --- diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index b84a83ba6..fc720e7e7 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -38,7 +38,7 @@ class VimeoBaseInfoExtractor(InfoExtractor): self.report_login() login_url = 'https://vimeo.com/log_in' webpage = self._download_webpage(login_url, None, False) - token = self._search_regex(r'xsrft: \'(.*?)\'', webpage, 'login token') + token = self._search_regex(r'xsrft = \'(.*?)\'', webpage, 'login token') data = urlencode_postdata({ 'email': username, 'password': password,