summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/HotfileCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/HotfileCom.py')
-rw-r--r--module/plugins/accounts/HotfileCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/HotfileCom.py b/module/plugins/accounts/HotfileCom.py
index 579267af3..42b8274b1 100644
--- a/module/plugins/accounts/HotfileCom.py
+++ b/module/plugins/accounts/HotfileCom.py
@@ -57,7 +57,7 @@ class HotfileCom(Account):
req = self.getAccountRequest(user)
- digest = req.getPage("http://api.hotfile.com/", post={"action":"getdigest"})
+ digest = req.load("http://api.hotfile.com/", post={"action":"getdigest"})
h = hashlib.md5()
h.update(data["password"])
hp = h.hexdigest()
@@ -68,7 +68,7 @@ class HotfileCom(Account):
post.update({"action": method})
post.update({"username":user, "passwordmd5dig":pwhash, "digest":digest})
- resp = req.getPage("http://api.hotfile.com/", post=post)
+ resp = req.load("http://api.hotfile.com/", post=post)
req.clean()
return resp
@@ -76,7 +76,7 @@ class HotfileCom(Account):
cj = self.getAccountCookies(user)
cj.setCookie("hotfile.com", "lang", "en")
req.load("http://hotfile.com/", cookies=True)
- page = req.getPage("http://hotfile.com/login.php", post={"returnto": "/", "user": user, "pass": data["password"]}, cookies=True)
+ page = req.load("http://hotfile.com/login.php", post={"returnto": "/", "user": user, "pass": data["password"]}, cookies=True)
if "Bad username/password" in page:
self.wrongPassword()