mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 12:07:12 +01:00
[vimeo] Fix non-ASCII album passwords
This commit is contained in:
parent
3fa3ff1bc3
commit
bfdf891fd3
@ -489,7 +489,7 @@ def _login_list_password(self, page_url, list_id, webpage):
|
|||||||
token, vuid = self._extract_xsrft_and_vuid(webpage)
|
token, vuid = self._extract_xsrft_and_vuid(webpage)
|
||||||
fields['token'] = token
|
fields['token'] = token
|
||||||
fields['password'] = password
|
fields['password'] = password
|
||||||
post = urlencode_postdata(fields)
|
post = urlencode_postdata(encode_dict(fields))
|
||||||
password_path = self._search_regex(
|
password_path = self._search_regex(
|
||||||
r'action="([^"]+)"', login_form, 'password URL')
|
r'action="([^"]+)"', login_form, 'password URL')
|
||||||
password_url = compat_urlparse.urljoin(page_url, password_path)
|
password_url = compat_urlparse.urljoin(page_url, password_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user