Browse Source

[pluralsight] Remove unnecessary login/password encode

Sergey M․ 9 years ago
parent
commit
244cd04237
1 changed files with 2 additions and 2 deletions
  1. 2 2
      youtube_dl/extractor/pluralsight.py

+ 2 - 2
youtube_dl/extractor/pluralsight.py

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