diff options
author | Jeix <devnull@localhost> | 2010-11-10 16:27:17 +0100 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-11-10 16:27:17 +0100 |
commit | 1fcfec4e2bd558975d36f1f294cdc52abeb5f4e5 (patch) | |
tree | 2c3101f704e75ba74919e053a9cbc7b3f7d3b208 /module/plugins/accounts/DepositfilesCom.py | |
parent | ... stupid me -.- (diff) | |
download | pyload-1fcfec4e2bd558975d36f1f294cdc52abeb5f4e5.tar.xz |
some design improvements on gui
Diffstat (limited to 'module/plugins/accounts/DepositfilesCom.py')
-rw-r--r-- | module/plugins/accounts/DepositfilesCom.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/accounts/DepositfilesCom.py b/module/plugins/accounts/DepositfilesCom.py index 4a5792c40..b0730de8e 100644 --- a/module/plugins/accounts/DepositfilesCom.py +++ b/module/plugins/accounts/DepositfilesCom.py @@ -42,4 +42,6 @@ class DepositfilesCom(Account): def login(self, user, data, req): req.load("http://depositfiles.com/de/gold/payment.php") - req.load("http://depositfiles.com/de/login.php", get={"return": "/de/gold/payment.php"}, post={"login": user, "password": data["password"]}) + src = req.load("http://depositfiles.com/de/login.php", get={"return": "/de/gold/payment.php"}, post={"login": user, "password": data["password"]}) + if r'<div class="error_message">Sie haben eine falsche Benutzername-Passwort-Kombination verwendet.</div>' in src: + self.wrongPassword() |