summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/CloudzillaToFolder.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/CloudzillaToFolder.py')
-rw-r--r--module/plugins/crypter/CloudzillaToFolder.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/crypter/CloudzillaToFolder.py b/module/plugins/crypter/CloudzillaToFolder.py
index 96d7245f1..09b4d4c08 100644
--- a/module/plugins/crypter/CloudzillaToFolder.py
+++ b/module/plugins/crypter/CloudzillaToFolder.py
@@ -9,7 +9,8 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
class CloudzillaToFolder(SimpleHoster):
__name__ = "CloudzillaToFolder"
__type__ = "crypter"
- __version__ = "0.02"
+ __version__ = "0.03"
+ __status__ = "testing"
__pattern__ = r'http://(?:www\.)?cloudzilla\.to/share/folder/(?P<ID>[\w^_]+)'
@@ -26,10 +27,10 @@ class CloudzillaToFolder(SimpleHoster):
PASSWORD_PATTERN = r'<div id="pwd_protected">'
- def checkErrors(self):
+ def check_errors(self):
m = re.search(self.PASSWORD_PATTERN, self.html)
if m:
- self.html = self.load(self.pyfile.url, get={'key': self.getPassword()})
+ self.html = self.load(self.pyfile.url, get={'key': self.get_password()})
if re.search(self.PASSWORD_PATTERN, self.html):
self.retry(reason="Wrong password")