aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-04-01 22:45:20 +0600
committerSergey M․ <dstftw@gmail.com>2016-04-01 22:45:20 +0600
commitfbdaced256f9d7d9b0adb97d093f0f381c9483f7 (patch)
tree2abb10dba19e3a1dbbb443882859b9af44837389
parenta3373823e1bd0239e0f58d5dd16ef5a4ec6bceb3 (diff)
[lynda] Remove unnecessary login/password encode
-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 655627479..86d47266f 100644
--- a/youtube_dl/extractor/lynda.py
+++ b/youtube_dl/extractor/lynda.py
@@ -28,8 +28,8 @@ class LyndaBaseIE(InfoExtractor):
return
login_form = {
- 'username': username.encode('utf-8'),
- 'password': password.encode('utf-8'),
+ 'username': username,
+ 'password': password,
'remember': 'false',
'stayPut': 'false'
}