diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-05 20:07:44 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-05 20:07:44 +0200 |
commit | faf6fbc956f8c23871c0bcb91a84986ffd689201 (patch) | |
tree | 19afd74d1ba7438816c02689ae3b093c57eea2cc /module/plugins/accounts | |
parent | closed #116 (diff) | |
download | pyload-faf6fbc956f8c23871c0bcb91a84986ffd689201.tar.xz |
changed dl function for test purpose
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/HotfileCom.py | 5 |
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 |