# -*- coding: utf-8 -*- from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class OpenloadIo(SimpleHoster): __name__ = "OpenloadIo" __type__ = "hoster" __version__ = "0.05" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?openload\.(co|io)/f/[\w-]+' __description__ = """Openload.co hoster plugin""" __license__ = "GPLv3" __authors__ = [(None, None)] NAME_PATTERN = r'(?P.+?)(?P[\d.,]+) (?P[\w^_]+)' OFFLINE_PATTERN = r">(We can't find the file you are looking for)" LINK_FREE_PATTERN = r'id="real\w*download">