mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-03 09:40:30 +00:00
[vimeo] one token overlooked
This commit is contained in:
parent
7513f298b0
commit
14a2d6789f
@ -439,7 +439,7 @@ def _login_list_password(self, page_url, list_id, webpage):
|
|||||||
name="([^"]+)"\s+
|
name="([^"]+)"\s+
|
||||||
value="([^"]*)"
|
value="([^"]*)"
|
||||||
''', login_form))
|
''', login_form))
|
||||||
token = self._search_regex(r'xsrft = \'(.*?)\'', webpage, 'login token')
|
token = self._search_regex(r'xsrft":"(.*?)"', webpage, 'login token')
|
||||||
fields['token'] = token
|
fields['token'] = token
|
||||||
fields['password'] = password
|
fields['password'] = password
|
||||||
post = urlencode_postdata(fields)
|
post = urlencode_postdata(fields)
|
||||||
|
Loading…
Reference in New Issue
Block a user