# -*- coding: utf-8 -*- from module.plugins.hoster.XFSPHoster import XFSPHoster, create_getInfo class TusfilesNet(XFSPHoster): __name__ = "TusfilesNet" __type__ = "hoster" __version__ = "0.05" __pattern__ = r'https?://(?:www\.)?tusfiles\.net/\w{12}' __description__ = """Tusfiles.net hoster plugin""" __authors__ = [("Walter Purcaro", "vuolter@gmail.com"), ("guidobelix", "guidobelix@hotmail.it")] HOSTER_NAME = "tusfiles.net" FILE_INFO_PATTERN = r'\](?P.+) - (?P[\d.]+) (?P\w+)\[' OFFLINE_PATTERN = r'>File Not Found|TusFiles - Fast Sharing Files!' def setup(self): self.multiDL = False self.chunkLimit = -1 self.resumeDownload = True def handlePremium(self): return self.handleFree() getInfo = create_getInfo(TusfilesNet)