aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-04-01 22:46:46 +0600
committerSergey M․ <dstftw@gmail.com>2016-04-01 22:46:46 +0600
commit244cd04237fe4a1e4d92421711f41de3c2566d5c (patch)
treeb645f73d6ce145493404dc9eeb8e36597beb0095 /youtube_dl/extractor
parentfbdaced256f9d7d9b0adb97d093f0f381c9483f7 (diff)
[pluralsight] Remove unnecessary login/password encode
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/pluralsight.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/pluralsight.py b/youtube_dl/extractor/pluralsight.py
index df03dd419..9aab77645 100644
--- a/youtube_dl/extractor/pluralsight.py
+++ b/youtube_dl/extractor/pluralsight.py
@@ -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(