From 57c8ffb666382537b7cfc09022fb75ea77fbfd53 Mon Sep 17 00:00:00 2001 From: godofdream Date: Thu, 23 Aug 2012 10:37:31 +0200 Subject: Fixed Jumbofiles closed #660 --- module/plugins/hoster/JumbofilesCom.py | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'module/plugins') diff --git a/module/plugins/hoster/JumbofilesCom.py b/module/plugins/hoster/JumbofilesCom.py index a338b31cc..9e8adb512 100644 --- a/module/plugins/hoster/JumbofilesCom.py +++ b/module/plugins/hoster/JumbofilesCom.py @@ -1,19 +1,31 @@ # -*- coding: utf-8 -*- import re -from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo +from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo from module.utils import html_unescape -class JumbofilesCom(XFileSharingPro): +class JumbofilesCom(SimpleHoster): __name__ = "JumbofilesCom" __type__ = "hoster" - __pattern__ = r"http://(?:\w*\.)*(jumbofiles.com)/\w{12}" - __version__ = "0.01" + __pattern__ = r"http://(?:\w*\.)*jumbofiles.com/(\w{12}).*" + __version__ = "0.02" __description__ = """JumboFiles.com hoster plugin""" - __author_name__ = ("zoidberg") - __author_mail__ = ("zoidberg@mujmail.cz") + __author_name__ = ("godofdream") + __author_mail__ = ("soilfiction@gmail.com") FILE_INFO_PATTERN = '(?P[^<]+?)\s*\((?P[\d.]+)\s*(?P[KMG][bB])\)' FILE_OFFLINE_PATTERN = 'Not Found or Deleted / Disabled due to inactivity or DMCA' - DIRECT_LINK_PATTERN = '