# -*- coding: utf-8 -*- import re from pyload.plugin.internal.XFSHoster import XFSHoster, create_getInfo class RarefileNet(XFSHoster): __name__ = "RarefileNet" __type__ = "hoster" __version__ = "0.08" __pattern__ = r'http://(?:www\.)?rarefile\.net/\w{12}' __description__ = """Rarefile.net hoster plugin""" __license__ = "GPLv3" __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] HOSTER_DOMAIN = "rarefile.net" NAME_PATTERN = r'(?P.+?)<' SIZE_PATTERN = r'>Size : (?P[\d.,]+) (?P[\w^_]+)' LINK_PATTERN = r'(?P=link)' getInfo = create_getInfo(RarefileNet)