# -*- coding: utf-8 -*- import re from module.plugins.Hoster import Hoster from module.plugins.ReCaptcha import ReCaptcha class FileserveCom(Hoster): __name__ = "FileserveCom" __type__ = "hoster" __pattern__ = r"http://(www\.)?fileserve\.com/file/.*?(/.*)?" __version__ = "0.1" __description__ = """Fileserve.Com File Download Hoster""" __author_name__ = ("jeix") __author_mail__ = ("jeix@hasnomail.de") def setup(self): self.multiDL = False def process(self, pyfile): html = self.load(self.pyfile.url) if re.search(r'

File not available

', html) != None: self.offline self.pyfile.name = re.search('

(.*?)

', html).group(1) if r'