1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-01 18:09:28 +00:00

[vimeo] one token overlooked

This commit is contained in:
pulpe 2015-04-22 23:55:19 +02:00
parent 7513f298b0
commit 14a2d6789f

View file

@ -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)