0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-01 23:12:40 +00:00

[vk] Fix authentication for non-ASCII login/password

This commit is contained in:
Sergey M․ 2015-06-13 03:09:35 +06:00
parent 8b6c896c4b
commit 4f3bf679f5

View file

@ -119,8 +119,8 @@ def _login(self):
'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',