mirror of https://github.com/yt-dlp/yt-dlp.git
[udemy] Remove unnecessary login/password encode
This is now covered by compat_urllib_parse_urlencode
This commit is contained in:
parent
03caa463e7
commit
a3373823e1
|
@ -151,8 +151,8 @@ class UdemyIE(InfoExtractor):
|
||||||
login_form = self._form_hidden_inputs('login-form', login_popup)
|
login_form = self._form_hidden_inputs('login-form', login_popup)
|
||||||
|
|
||||||
login_form.update({
|
login_form.update({
|
||||||
'email': username.encode('utf-8'),
|
'email': username,
|
||||||
'password': password.encode('utf-8'),
|
'password': password,
|
||||||
})
|
})
|
||||||
|
|
||||||
request = sanitized_Request(
|
request = sanitized_Request(
|
||||||
|
|
Loading…
Reference in New Issue