aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-06-26 19:48:23 +0600
committerSergey M․ <dstftw@gmail.com>2015-06-26 19:48:23 +0600
commit2988835af5cbe695e61d3b58bc65027f5b48fb63 (patch)
treeaa017be45876fa275f638a2f40bf53ad22c70438 /youtube_dl/extractor
parent62cca96b729424fa71a3b174af7b646cc1cf12f2 (diff)
[lynda] Fix non-ASCII logins/passwords on python 2
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/lynda.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/lynda.py b/youtube_dl/extractor/lynda.py
index 18efe5a09..a00f6e5e5 100644
--- a/youtube_dl/extractor/lynda.py
+++ b/youtube_dl/extractor/lynda.py
@@ -30,8 +30,8 @@ class LyndaBaseIE(InfoExtractor):
return
login_form = {
- 'username': username,
- 'password': password,
+ 'username': username.encode('utf-8'),
+ 'password': password.encode('utf-8'),
'remember': 'false',
'stayPut': 'false'
}