]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[vimeo] Fix login (#3886)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 12 Mar 2015 17:45:00 +0000 (18:45 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 12 Mar 2015 17:45:00 +0000 (18:45 +0100)
youtube_dl/extractor/vimeo.py

index b84a83ba69fec3cc9c78e8111fc34436b3c5ca4f..fc720e7e7cc539b0371ed3775c9ac5291e1673a1 100644 (file)
@@ -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,