summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/JumbofilesCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/JumbofilesCom.py')
-rw-r--r--module/plugins/hoster/JumbofilesCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/JumbofilesCom.py b/module/plugins/hoster/JumbofilesCom.py
index 4812f0224..1da6d7d3c 100644
--- a/module/plugins/hoster/JumbofilesCom.py
+++ b/module/plugins/hoster/JumbofilesCom.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class JumbofilesCom(SimpleHoster):
__name__ = "JumbofilesCom"
__type__ = "hoster"
- __version__ = "0.03"
+ __version__ = "0.04"
__pattern__ = r'http://(?:www\.)?jumbofiles\.com/(?P<ID>\w{12})'
__config__ = [("use_premium", "bool", "Use premium account if available", True)]
@@ -24,11 +24,11 @@ class JumbofilesCom(SimpleHoster):
def setup(self):
- self.resumeDownload = True
- self.multiDL = True
+ self.resume_download = True
+ self.multi_dl = True
- def handleFree(self, pyfile):
+ def handle_free(self, pyfile):
post_data = {"id": self.info['pattern']['ID'], "op": "download3", "rand": ""}
html = self.load(self.pyfile.url, post=post_data)
self.link = re.search(self.LINK_FREE_PATTERN, html).group(1)