[vimeo] Fix non-ASCII album passwords
authorSergey M․ <dstftw@gmail.com>
Tue, 3 Nov 2015 15:09:24 +0000 (21:09 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 3 Nov 2015 15:09:24 +0000 (21:09 +0600)
youtube_dl/extractor/vimeo.py

index 46fb36f21eebd35a0d599a6a69120883ca6d56e3..b608740b8ae542029ba49feeebb21ac403ec93fb 100644 (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)