summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
commit1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch)
tree820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/internal
parentSpare fixes and code cosmetics (diff)
downloadpyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/XFSAccount.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/XFSAccount.py b/module/plugins/internal/XFSAccount.py
index 23759f6d3..4005b8e21 100644
--- a/module/plugins/internal/XFSAccount.py
+++ b/module/plugins/internal/XFSAccount.py
@@ -64,7 +64,7 @@ class XFSAccount(Account):
'leechtraffic': leechtraffic,
'premium' : premium}
- html = self.load(self.HOSTER_URL, get={'op': "my_account"}, req=req)
+ html = self.load(self.HOSTER_URL, get={'op': "my_account"})
premium = True if re.search(self.PREMIUM_PATTERN, html) else False
@@ -155,7 +155,7 @@ class XFSAccount(Account):
if not self.LOGIN_URL:
self.LOGIN_URL = urlparse.urljoin(self.HOSTER_URL, "login.html")
- html = self.load(self.LOGIN_URL, req=req)
+ html = self.load(self.LOGIN_URL)
action, inputs = parse_html_form('name="FL"', html)
if not inputs:
@@ -170,7 +170,7 @@ class XFSAccount(Account):
else:
url = self.HOSTER_URL
- html = self.load(url, post=inputs, req=req)
+ html = self.load(url, post=inputs)
if re.search(self.LOGIN_FAIL_PATTERN, html):
self.wrong_password()