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/UploadingCom.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'module/plugins/accounts/UploadingCom.py') diff --git a/module/plugins/accounts/UploadingCom.py b/module/plugins/accounts/UploadingCom.py index 6f6e0eed5..4fdabcb46 100644 --- a/module/plugins/accounts/UploadingCom.py +++ b/module/plugins/accounts/UploadingCom.py @@ -26,7 +26,7 @@ class UploadingCom(Account): trafficleft = None premium = None - html = self.load("http://uploading.com/", req=req) + html = self.load("http://uploading.com/") premium = False if re.search(self.PREMIUM_PATTERN, html) else True @@ -60,9 +60,8 @@ class UploadingCom(Account): ("uploading.com", "setlang" , "en"), ("uploading.com", "_lang" , "en")]) - self.load("http://uploading.com/", req=req) + self.load("http://uploading.com/") self.load("https://uploading.com/general/login_form/?JsHttpRequest=%s-xml" % long(time.time() * 1000), post={'email' : user, 'password': data['password'], - 'remember': "on"}, - req=req) + 'remember': "on"}) -- cgit v1.2.3