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

[lynda] Fix non-ASCII logins/passwords on python 2

This commit is contained in:
Sergey M․ 2015-06-26 19:48:23 +06:00
parent 62cca96b72
commit 2988835af5

View file

@ -30,8 +30,8 @@ def _login(self):
return
login_form = {
'username': username,
'password': password,
'username': username.encode('utf-8'),
'password': password.encode('utf-8'),
'remember': 'false',
'stayPut': 'false'
}