summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/DepositfilesCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/DepositfilesCom.py')
-rw-r--r--module/plugins/accounts/DepositfilesCom.py4
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()