summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/HotfileCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-05 20:07:44 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-05 20:07:44 +0200
commitfaf6fbc956f8c23871c0bcb91a84986ffd689201 (patch)
tree19afd74d1ba7438816c02689ae3b093c57eea2cc /module/plugins/accounts/HotfileCom.py
parentclosed #116 (diff)
downloadpyload-faf6fbc956f8c23871c0bcb91a84986ffd689201.tar.xz
changed dl function for test purpose
Diffstat (limited to 'module/plugins/accounts/HotfileCom.py')
-rw-r--r--module/plugins/accounts/HotfileCom.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/accounts/HotfileCom.py b/module/plugins/accounts/HotfileCom.py
index f623e56f1..52bff87fe 100644
--- a/module/plugins/accounts/HotfileCom.py
+++ b/module/plugins/accounts/HotfileCom.py
@@ -75,4 +75,7 @@ class HotfileCom(Account):
cj = self.getAccountCookies(user)
cj.setCookie("hotfile.com", "lang", "en")
req.load("http://hotfile.com/", cookies=True)
- req.load("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() \ No newline at end of file