mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[lynda] Fix non-ASCII logins/passwords on python 2
This commit is contained in:
parent
62cca96b72
commit
2988835af5
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ def _login(self):
|
||||||
return
|
return
|
||||||
|
|
||||||
login_form = {
|
login_form = {
|
||||||
'username': username,
|
'username': username.encode('utf-8'),
|
||||||
'password': password,
|
'password': password.encode('utf-8'),
|
||||||
'remember': 'false',
|
'remember': 'false',
|
||||||
'stayPut': 'false'
|
'stayPut': 'false'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue