summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/UploadableCh.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/UploadableCh.py')
-rw-r--r--module/plugins/accounts/UploadableCh.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/UploadableCh.py b/module/plugins/accounts/UploadableCh.py
index 6f9229a49..eefa1f3a0 100644
--- a/module/plugins/accounts/UploadableCh.py
+++ b/module/plugins/accounts/UploadableCh.py
@@ -6,7 +6,7 @@ from module.plugins.internal.Account import Account
class UploadableCh(Account):
__name__ = "UploadableCh"
__type__ = "account"
- __version__ = "0.06"
+ __version__ = "0.07"
__status__ = "testing"
__description__ = """Uploadable.ch account plugin"""
@@ -14,7 +14,7 @@ class UploadableCh(Account):
__authors__ = [("Sasch", "gsasch@gmail.com")]
- def grab_info(self, user, password, data, req):
+ def grab_info(self, user, password, data):
html = self.load("http://www.uploadable.ch/login.php")
premium = '<a href="/logout.php"' in html
@@ -23,7 +23,7 @@ class UploadableCh(Account):
return {'validuntil': None, 'trafficleft': trafficleft, 'premium': premium} #@TODO: validuntil
- def login(self, user, password, data, req):
+ def signin(self, user, password, data):
html = self.load("http://www.uploadable.ch/login.php",
post={'userName' : user,
'userPassword' : password,