diff options
author | Jeix <devnull@localhost> | 2010-11-25 14:33:15 +0100 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-11-25 14:33:15 +0100 |
commit | 0e6a798342985f1e4074896e45363c3f5acceacc (patch) | |
tree | 9a8aca09fe18c958f221cda480222fe26709410b /module/plugins/accounts | |
parent | gui: reverse tab order (diff) | |
download | pyload-0e6a798342985f1e4074896e45363c3f5acceacc.tar.xz |
depositfiles, fileserve free fixes
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/FileserveCom.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/accounts/FileserveCom.py b/module/plugins/accounts/FileserveCom.py index 793d240cc..7754de253 100644 --- a/module/plugins/accounts/FileserveCom.py +++ b/module/plugins/accounts/FileserveCom.py @@ -44,8 +44,12 @@ class FileserveCom(Account): def login(self, user, data, req): - req.load("http://fileserve.com/login.php", + html = req.load("http://fileserve.com/login.php", post={"loginUserName": user, "loginUserPassword": data["password"], "autoLogin": "on", "loginFormSubmit": "Login"}, cookies=True) + + if r'Please Enter a valid user name.' in html: + self.wrongPassword() + req.load("http://fileserve.com/dashboard.php", cookies=True) |