mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 23:32:33 +00:00
[vk] Fix authentication for non-ASCII login/password
This commit is contained in:
parent
8b6c896c4b
commit
4f3bf679f5
1 changed files with 2 additions and 2 deletions
|
@ -119,8 +119,8 @@ class VKIE(InfoExtractor):
|
||||||
'act': 'login',
|
'act': 'login',
|
||||||
'role': 'al_frame',
|
'role': 'al_frame',
|
||||||
'expire': '1',
|
'expire': '1',
|
||||||
'email': username,
|
'email': username.encode('cp1251'),
|
||||||
'pass': password,
|
'pass': password.encode('cp1251'),
|
||||||
}
|
}
|
||||||
|
|
||||||
request = compat_urllib_request.Request('https://login.vk.com/?act=login',
|
request = compat_urllib_request.Request('https://login.vk.com/?act=login',
|
||||||
|
|
Loading…
Reference in a new issue