# -*- coding: utf-8 -*- import re from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo from module.utils import html_unescape class JumbofilesCom(XFileSharingPro): __name__ = "JumbofilesCom" __type__ = "hoster" __pattern__ = r"http://(?:\w*\.)*(jumbofiles.com)/\w{12}" __version__ = "0.01" __description__ = """JumboFiles.com hoster plugin""" __author_name__ = ("zoidberg") __author_mail__ = ("zoidberg@mujmail.cz") 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 = '