summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/CloudzillaTo.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-29 20:05:07 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-29 20:05:07 +0200
commitec6e5dc7fcdcefee10e37d22473c9accae1104cf (patch)
treed19824c0223b083d5b4256530443165cfabb7a04 /module/plugins/accounts/CloudzillaTo.py
parentMerge pull request #1850 from chaosblog/patch-2 (diff)
downloadpyload-ec6e5dc7fcdcefee10e37d22473c9accae1104cf.tar.xz
Account class completely rewritten + plugins updated
Diffstat (limited to 'module/plugins/accounts/CloudzillaTo.py')
-rw-r--r--module/plugins/accounts/CloudzillaTo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/CloudzillaTo.py b/module/plugins/accounts/CloudzillaTo.py
index 127e226a2..821975ef0 100644
--- a/module/plugins/accounts/CloudzillaTo.py
+++ b/module/plugins/accounts/CloudzillaTo.py
@@ -8,7 +8,7 @@ from module.plugins.internal.Account import Account
class CloudzillaTo(Account):
__name__ = "CloudzillaTo"
__type__ = "account"
- __version__ = "0.05"
+ __version__ = "0.06"
__status__ = "testing"
__description__ = """Cloudzilla.to account plugin"""
@@ -19,7 +19,7 @@ class CloudzillaTo(Account):
PREMIUM_PATTERN = r'<h2>account type</h2>\s*Premium Account'
- def grab_info(self, user, password, data, req):
+ def grab_info(self, user, password, data):
html = self.load("http://www.cloudzilla.to/")
premium = True if re.search(self.PREMIUM_PATTERN, html) else False
@@ -27,7 +27,7 @@ class CloudzillaTo(Account):
return {'validuntil': -1, 'trafficleft': -1, 'premium': premium}
- def login(self, user, password, data, req):
+ def signin(self, user, password, data):
html = self.load("https://www.cloudzilla.to/",
post={'lusername': user,
'lpassword': password,