1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-17 19:09:23 +01:00

[udemy] Remove unnecessary login/password encode

This is now covered by compat_urllib_parse_urlencode
This commit is contained in:
Sergey M․ 2016-04-01 22:42:09 +06:00
parent 03caa463e7
commit a3373823e1

View File

@ -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(