]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[lynda] Remove unnecessary login/password encode
authorSergey M․ <dstftw@gmail.com>
Fri, 1 Apr 2016 16:45:20 +0000 (22:45 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 1 Apr 2016 16:45:20 +0000 (22:45 +0600)
youtube_dl/extractor/lynda.py

index 6556274790c771c26b353b9c26e5f9eab187eff4..86d47266f80affd7edaec53dba66ee40a3dd90b9 100644 (file)
@@ -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'
         }