summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/HellshareCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/HellshareCz.py')
-rw-r--r--module/plugins/accounts/HellshareCz.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/module/plugins/accounts/HellshareCz.py b/module/plugins/accounts/HellshareCz.py
index 76a9597ee..3a30f4d5a 100644
--- a/module/plugins/accounts/HellshareCz.py
+++ b/module/plugins/accounts/HellshareCz.py
@@ -68,11 +68,13 @@ class HellshareCz(Account):
self.log_debug("Already logged in")
return
- html = self.load('https://www.hellshare.com/login?do=loginForm-submit',
- post={"login": "Log in",
- "password": data['password'],
- "username": user,
- "perm_login": "on"}, req=req)
+ html = self.load("https://www.hellshare.com/login",
+ get={'do': "loginForm-submit"},
+ post={'login' : "Log in",
+ 'password' : data['password'],
+ 'username' : user,
+ 'perm_login': "on"},
+ req=req)
if "<p>You input a wrong user name or wrong password</p>" in html:
self.wrong_password()