# -*- coding: utf-8 -*- from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo class TusfilesNet(XFileSharingPro): __name__ = "TusfilesNet" __type__ = "hoster" __pattern__ = r"http://(www\.)?tusfiles\.net/\w{12}" __version__ = "0.01" __description__ = """Tusfiles.net hoster plugin""" __author_name__ = ("stickell") __author_mail__ = ("l.stickell@yahoo.it") FILE_INFO_PATTERN = r'
  • (?P[^<]+)
  • \s+
  • Size: (?P[\d.]+) (?P\w+)
  • ' FILE_OFFLINE_PATTERN = r'The file you were looking for could not be found' HOSTER_NAME = "tusfiles.net" def setup(self): self.chunkLimit = 1 self.resumeDownload = self.multiDL = True if self.premium: self.limitDL = 5 elif self.account: self.limitDL = 3 else: self.limitDL = 2 getInfo = create_getInfo(TusfilesNet)