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.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/DepositfilesCom.py b/module/plugins/accounts/DepositfilesCom.py
index ce2dc1923..7c60682c0 100644
--- a/module/plugins/accounts/DepositfilesCom.py
+++ b/module/plugins/accounts/DepositfilesCom.py
@@ -19,7 +19,7 @@ class DepositfilesCom(Account):
def load_account_info(self, user, req):
- html = self.load("https://dfiles.eu/de/gold/", req=req)
+ html = self.load("https://dfiles.eu/de/gold/")
validuntil = re.search(r"Sie haben Gold Zugang bis: <b>(.*?)</b></div>", html).group(1)
validuntil = time.mktime(time.strptime(validuntil, "%Y-%m-%d %H:%M:%S"))
@@ -31,8 +31,7 @@ class DepositfilesCom(Account):
html = self.load("https://dfiles.eu/de/login.php",
get={"return": "/de/gold/payment.php"},
post={"login" : user,
- "password": data['password']},
- req=req)
+ "password": data['password']})
if r'<div class="error_message">Sie haben eine falsche Benutzername-Passwort-Kombination verwendet.</div>' in html:
self.wrong_password()