From ce1c2b6b05c08b669357947e61ae40efce7fc50f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 10:46:28 +0100 Subject: module temp --- module/plugins/hoster/TusfilesNet.py | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 module/plugins/hoster/TusfilesNet.py (limited to 'module/plugins/hoster/TusfilesNet.py') diff --git a/module/plugins/hoster/TusfilesNet.py b/module/plugins/hoster/TusfilesNet.py new file mode 100644 index 000000000..303d001df --- /dev/null +++ b/module/plugins/hoster/TusfilesNet.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- + +from pyload.plugin.internal.XFSHoster import XFSHoster, create_getInfo + + +class TusfilesNet(XFSHoster): + __name__ = "TusfilesNet" + __type__ = "hoster" + __version__ = "0.07" + + __pattern__ = r'https?://(?:www\.)?tusfiles\.net/\w{12}' + + __description__ = """Tusfiles.net hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("Walter Purcaro", "vuolter@gmail.com"), + ("guidobelix", "guidobelix@hotmail.it")] + + + HOSTER_DOMAIN = "tusfiles.net" + + 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) -- cgit v1.2.3