summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/CatShareNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/CatShareNet.py')
-rw-r--r--module/plugins/accounts/CatShareNet.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/CatShareNet.py b/module/plugins/accounts/CatShareNet.py
index a8a164352..6e11064a6 100644
--- a/module/plugins/accounts/CatShareNet.py
+++ b/module/plugins/accounts/CatShareNet.py
@@ -9,7 +9,7 @@ from module.plugins.internal.Account import Account
class CatShareNet(Account):
__name__ = "CatShareNet"
__type__ = "account"
- __version__ = "0.09"
+ __version__ = "0.10"
__status__ = "testing"
__description__ = """Catshare.net account plugin"""
@@ -22,7 +22,7 @@ class CatShareNet(Account):
TRAFFIC_LEFT_PATTERN = r'<a href="/premium">([0-9.]+ [kMG]B)'
- def grab_info(self, user, password, data, req):
+ def grab_info(self, user, password, data):
premium = False
validuntil = -1
trafficleft = -1
@@ -50,7 +50,7 @@ class CatShareNet(Account):
return {'premium': premium, 'trafficleft': trafficleft, 'validuntil': validuntil}
- def login(self, user, password, data, req):
+ def signin(self, user, password, data):
html = self.load("http://catshare.net/login", #@TODO: Revert to `https` in 0.4.10
post={'user_email' : user,
'user_password' : password,