diff options
Diffstat (limited to 'pyload/plugin/hoster/JumbofilesCom.py')
-rw-r--r-- | pyload/plugin/hoster/JumbofilesCom.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/JumbofilesCom.py b/pyload/plugin/hoster/JumbofilesCom.py index b7c82082a..cae54ba97 100644 --- a/pyload/plugin/hoster/JumbofilesCom.py +++ b/pyload/plugin/hoster/JumbofilesCom.py @@ -6,15 +6,15 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster, create_getInfo class JumbofilesCom(SimpleHoster): - __name = "JumbofilesCom" - __type = "hoster" - __version = "0.02" + __name__ = "JumbofilesCom" + __type__ = "hoster" + __version__ = "0.02" - __pattern = r'http://(?:www\.)?jumbofiles\.com/(\w{12}).*' + __pattern__ = r'http://(?:www\.)?jumbofiles\.com/(\w{12}).*' - __description = """JumboFiles.com hoster plugin""" - __license = "GPLv3" - __authors = [("godofdream", "soilfiction@gmail.com")] + __description__ = """JumboFiles.com hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("godofdream", "soilfiction@gmail.com")] INFO_PATTERN = r'<TR><TD>(?P<N>[^<]+?)\s*<small>\((?P<S>[\d.,]+)\s*(?P<U>[\w^_]+)' @@ -28,7 +28,7 @@ class JumbofilesCom(SimpleHoster): def handleFree(self): - ukey = re.match(self.__pattern, self.pyfile.url).group(1) + ukey = re.match(self.__pattern__, self.pyfile.url).group(1) post_data = {"id": ukey, "op": "download3", "rand": ""} html = self.load(self.pyfile.url, post=post_data, decode=True) url = re.search(self.LINK_PATTERN, html).group(1) |