aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/udemy.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-04-01 22:42:09 +0600
committerSergey M․ <dstftw@gmail.com>2016-04-01 22:42:09 +0600
commita3373823e1bd0239e0f58d5dd16ef5a4ec6bceb3 (patch)
treeb5d528ab557fe90f0d1cf4926c879988a5a3a722 /youtube_dl/extractor/udemy.py
parent03caa463e73c2ae2f666b85febf25ddb03f961ca (diff)
[udemy] Remove unnecessary login/password encode
This is now covered by compat_urllib_parse_urlencode
Diffstat (limited to 'youtube_dl/extractor/udemy.py')
-rw-r--r--youtube_dl/extractor/udemy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/udemy.py b/youtube_dl/extractor/udemy.py
index bc69e6e41..d1e6f2703 100644
--- a/youtube_dl/extractor/udemy.py
+++ b/youtube_dl/extractor/udemy.py
@@ -151,8 +151,8 @@ class UdemyIE(InfoExtractor):
login_form = self._form_hidden_inputs('login-form', login_popup)
login_form.update({
- 'email': username.encode('utf-8'),
- 'password': password.encode('utf-8'),
+ 'email': username,
+ 'password': password,
})
request = sanitized_Request(