From 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 17 Jul 2015 15:29:48 +0200 Subject: No more need to use the req argument when call load method --- module/plugins/accounts/DepositfilesCom.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/DepositfilesCom.py') 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: (.*?)", 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'
Sie haben eine falsche Benutzername-Passwort-Kombination verwendet.
' in html: self.wrong_password() -- cgit v1.2.3