# -*- coding: utf-8 -*- from module.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo class JunocloudMe(XFSPHoster): __name__ = "JunocloudMe" __type__ = "hoster" __version__ = "0.01" __pattern__ = r'http://(?:\w+\.)?junocloud\.me/\w{12}' __description__ = """Junocloud.me hoster plugin""" __license__ = "GPLv3" __authors__ = [("guidobelix", "guidobelix@hotmail.it")] HOSTER_NAME = "junocloud.me" FILE_URL_REPLACEMENTS = [(r'//(junocloud)', r'//dl3.\1')] FILE_NAME_PATTERN = r'

http://junocloud.me/w{12}/(?P.+?)

' FILE_SIZE_PATTERN = r'

Size: (?P[\d.,]+) (?P[\w^_]+)

' OFFLINE_PATTERN = r'>No such file with this filename<' TEMP_OFFLINE_PATTERN = r'The page may have been renamed, removed or be temporarily unavailable.<' getInfo = create_getInfo(JunocloudMe)