# -*- coding: utf-8 -*- from pyload.plugins.internal.XFSHoster import XFSHoster, create_getInfo class RapidfileshareNet(XFSHoster): __name = "RapidfileshareNet" __type = "hoster" __version = "0.02" __pattern = r'http://(?:www\.)?rapidfileshare\.net/\w{12}' __description = """Rapidfileshare.net hoster plugin""" __license = "GPLv3" __authors = [("guidobelix", "guidobelix@hotmail.it")] HOSTER_DOMAIN = "rapidfileshare.net" NAME_PATTERN = r'' SIZE_PATTERN = r'>http://www.rapidfileshare.net/\w+? \((?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.<' def handlePremium(self): self.fail(_("Premium download not implemented")) getInfo = create_getInfo(RapidfileshareNet)