From: Sergey M․ Date: Fri, 1 Apr 2016 16:45:20 +0000 (+0600) Subject: [lynda] Remove unnecessary login/password encode X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=fbdaced256f9d7d9b0adb97d093f0f381c9483f7;p=youtube-dl [lynda] Remove unnecessary login/password encode --- 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' }