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/QuickshareCz.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/QuickshareCz.py') diff --git a/module/plugins/accounts/QuickshareCz.py b/module/plugins/accounts/QuickshareCz.py index 07eae058f..4054ba180 100644 --- a/module/plugins/accounts/QuickshareCz.py +++ b/module/plugins/accounts/QuickshareCz.py @@ -19,7 +19,7 @@ class QuickshareCz(Account): def load_account_info(self, user, req): - html = self.load("http://www.quickshare.cz/premium", req=req) + html = self.load("http://www.quickshare.cz/premium") m = re.search(self.TRAFFIC_LEFT_PATTERN, html) if m: @@ -36,8 +36,7 @@ class QuickshareCz(Account): html = self.load('http://www.quickshare.cz/html/prihlaseni_process.php', post={"akce" : u'Přihlásit', "heslo": data['password'], - "jmeno": user}, - req=req) + "jmeno": user}) if u'>Takový uživatel neexistuje.<' in html or u'>Špatné heslo.<' in html: self.wrong_password() -- cgit v1.2.3