diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-08 23:31:33 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-08 23:31:33 +0100 |
commit | 36e60a23497ae05736c24fed2f4ce936fb61f744 (patch) | |
tree | d743ace8e6c032cccb524cbb8474263d9d7bd4e1 /module/plugins/accounts/FilejungleCom.py | |
parent | "New Year" Update: internal plugins (diff) | |
download | pyload-36e60a23497ae05736c24fed2f4ce936fb61f744.tar.xz |
"New Year" Update: account plugins
Diffstat (limited to 'module/plugins/accounts/FilejungleCom.py')
-rw-r--r-- | module/plugins/accounts/FilejungleCom.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/module/plugins/accounts/FilejungleCom.py b/module/plugins/accounts/FilejungleCom.py index a3ec7af64..9f7474207 100644 --- a/module/plugins/accounts/FilejungleCom.py +++ b/module/plugins/accounts/FilejungleCom.py @@ -9,7 +9,7 @@ from module.plugins.Account import Account class FilejungleCom(Account): __name__ = "FilejungleCom" __type__ = "account" - __version__ = "0.11" + __version__ = "0.12" __description__ = """Filejungle.com account plugin""" __license__ = "GPLv3" @@ -37,13 +37,14 @@ class FilejungleCom(Account): def login(self, user, data, req): - html = req.load(self.URL + "login.php", post={ - "loginUserName": user, - "loginUserPassword": data['password'], - "loginFormSubmit": "Login", - "recaptcha_challenge_field": "", - "recaptcha_response_field": "", - "recaptcha_shortencode_field": ""}) + html = req.load(self.URL + "login.php", + post={"loginUserName": user, + "loginUserPassword": data['password'], + "loginFormSubmit": "Login", + "recaptcha_challenge_field": "", + "recaptcha_response_field": "", + "recaptcha_shortencode_field": ""}, + decode=True) if re.search(self.LOGIN_FAILED_PATTERN, html): self.wrongPassword() |