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

[vimeo] Fix non-ASCII album passwords

This commit is contained in:
Sergey M․ 2015-11-03 21:09:24 +06:00
parent 3fa3ff1bc3
commit bfdf891fd3

View file

@ -489,7 +489,7 @@ class VimeoChannelIE(VimeoBaseInfoExtractor):
token, vuid = self._extract_xsrft_and_vuid(webpage)
fields['token'] = token
fields['password'] = password
post = urlencode_postdata(fields)
post = urlencode_postdata(encode_dict(fields))
password_path = self._search_regex(
r'action="([^"]+)"', login_form, 'password URL')
password_url = compat_urlparse.urljoin(page_url, password_path)