Browse Source

[udemy] Remove unnecessary login/password encode

This is now covered by compat_urllib_parse_urlencode
totalwebcasting
Sergey M․ 9 years ago
parent
commit
a3373823e1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/udemy.py

+ 2
- 2
youtube_dl/extractor/udemy.py View File

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


Loading…
Cancel
Save