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

pull/8/head
Sergey M․ 10 years ago
parent 62cca96b72
commit 2988835af5

@ -30,8 +30,8 @@ class LyndaBaseIE(InfoExtractor):
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…
Cancel
Save