summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/Keep2ShareCc.py
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/accounts/Keep2ShareCc.py
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/accounts/Keep2ShareCc.py')
-rw-r--r--module/plugins/accounts/Keep2ShareCc.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/Keep2ShareCc.py b/module/plugins/accounts/Keep2ShareCc.py
index 5c6b3cce8..6b2a8d68a 100644
--- a/module/plugins/accounts/Keep2ShareCc.py
+++ b/module/plugins/accounts/Keep2ShareCc.py
@@ -28,7 +28,7 @@ class Keep2ShareCc(Account):
trafficleft = -1
premium = False
- html = self.load("http://keep2share.cc/site/profile.html", req=req)
+ html = self.load("http://keep2share.cc/site/profile.html")
m = re.search(self.VALID_UNTIL_PATTERN, html)
if m:
@@ -66,8 +66,7 @@ class Keep2ShareCc(Account):
post={'LoginForm[username]' : user,
'LoginForm[password]' : data['password'],
'LoginForm[rememberMe]': 1,
- 'yt0' : ""},
- req=req)
+ 'yt0' : ""})
if re.search(self.LOGIN_FAIL_PATTERN, html):
self.wrong_password()