diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-17 15:29:48 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-17 15:29:48 +0200 |
commit | 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch) | |
tree | 820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/UploadingCom.py | |
parent | Spare fixes and code cosmetics (diff) | |
download | pyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz |
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/accounts/UploadingCom.py')
-rw-r--r-- | module/plugins/accounts/UploadingCom.py | 7 |
1 files changed, 3 insertions, 4 deletions
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"}) |