]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[pluralsight] Remove unnecessary login/password encode
authorSergey M․ <dstftw@gmail.com>
Fri, 1 Apr 2016 16:46:46 +0000 (22:46 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 1 Apr 2016 16:46:46 +0000 (22:46 +0600)
youtube_dl/extractor/pluralsight.py

index df03dd4198c1e0f264c641f516fc6de813b7dd7f..9aab7764559523e3bbc4a82f5b6ab9b71056be59 100644 (file)
@@ -64,8 +64,8 @@ class PluralsightIE(PluralsightBaseIE):
         login_form = self._hidden_inputs(login_page)
 
         login_form.update({
-            'Username': username.encode('utf-8'),
-            'Password': password.encode('utf-8'),
+            'Username': username,
+            'Password': password,
         })
 
         post_url = self._search_regex(