Browse Source

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

totalwebcasting
Sergey M․ 10 years ago
parent
commit
2988835af5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/lynda.py

+ 2
- 2
youtube_dl/extractor/lynda.py View File

@ -30,8 +30,8 @@ class LyndaBaseIE(InfoExtractor):
return return
login_form = { login_form = {
'username': username,
'password': password,
'username': username.encode('utf-8'),
'password': password.encode('utf-8'),
'remember': 'false', 'remember': 'false',
'stayPut': 'false' 'stayPut': 'false'
} }


Loading…
Cancel
Save