summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/UploadheroCom.py
diff options
context:
space:
mode:
authorGravatar Sahil Shekhawat <sahilshekhawat01@gmail.com> 2015-01-11 14:54:48 +0100
committerGravatar Sahil Shekhawat <sahilshekhawat01@gmail.com> 2015-01-11 14:54:48 +0100
commitd2b60b5ceb369814a0de41c8b8744b5c4ed81523 (patch)
tree6619e01fc0e5f281e4d28678ec565860a86784ec /module/plugins/accounts/UploadheroCom.py
parentupdated nitroflare.com's plugin (diff)
parentCode improvements (diff)
downloadpyload-d2b60b5ceb369814a0de41c8b8744b5c4ed81523.tar.xz
Merged with the updated nitroflare
Diffstat (limited to 'module/plugins/accounts/UploadheroCom.py')
-rw-r--r--module/plugins/accounts/UploadheroCom.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/accounts/UploadheroCom.py b/module/plugins/accounts/UploadheroCom.py
index 1e30b3771..714f5b0a6 100644
--- a/module/plugins/accounts/UploadheroCom.py
+++ b/module/plugins/accounts/UploadheroCom.py
@@ -10,7 +10,7 @@ from module.plugins.Account import Account
class UploadheroCom(Account):
__name__ = "UploadheroCom"
__type__ = "account"
- __version__ = "0.20"
+ __version__ = "0.21"
__description__ = """Uploadhero.co account plugin"""
__license__ = "GPLv3"
@@ -35,7 +35,8 @@ class UploadheroCom(Account):
def login(self, user, data, req):
html = req.load("http://uploadhero.co/lib/connexion.php",
- post={"pseudo_login": user, "password_login": data['password']})
+ post={"pseudo_login": user, "password_login": data['password']},
+ decode=True)
if "mot de passe invalide" in html:
self.wrongPassword()