diff options
Diffstat (limited to 'pyload/plugins/hoster/TusfilesNet.py')
-rw-r--r-- | pyload/plugins/hoster/TusfilesNet.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pyload/plugins/hoster/TusfilesNet.py b/pyload/plugins/hoster/TusfilesNet.py new file mode 100644 index 000000000..bbed62a6a --- /dev/null +++ b/pyload/plugins/hoster/TusfilesNet.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- + +from pyload.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo + + +class TusfilesNet(XFileSharingPro): + __name__ = "TusfilesNet" + __type__ = "hoster" + __version__ = "0.04" + + __pattern__ = r'https?://(?:www\.)?tusfiles\.net/\w{12}' + + __description__ = """Tusfiles.net hoster plugin""" + __author_name__ = ("Walter Purcaro", "guidobelix") + __author_mail__ = ("vuolter@gmail.com", "guidobelix@hotmail.it") + + + HOSTER_NAME = "tusfiles.net" + + FILE_INFO_PATTERN = r'\](?P<N>.+) - (?P<S>[\d.]+) (?P<U>\w+)\[' + OFFLINE_PATTERN = r'>File Not Found|<Title>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) |