[vk] Fix authentication for non-ASCII login/password
parent
8b6c896c4b
commit
4f3bf679f5
|
@ -119,8 +119,8 @@ class VKIE(InfoExtractor):
|
|||
'act': 'login',
|
||||
'role': 'al_frame',
|
||||
'expire': '1',
|
||||
'email': username,
|
||||
'pass': password,
|
||||
'email': username.encode('cp1251'),
|
||||
'pass': password.encode('cp1251'),
|
||||
}
|
||||
|
||||
request = compat_urllib_request.Request('https://login.vk.com/?act=login',
|
||||
|
|
Loading…
Reference in New Issue