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

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

' 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)