summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/TusfilesNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/TusfilesNet.py')
-rw-r--r--pyload/plugins/hoster/TusfilesNet.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/pyload/plugins/hoster/TusfilesNet.py b/pyload/plugins/hoster/TusfilesNet.py
index f10501250..8c80455b4 100644
--- a/pyload/plugins/hoster/TusfilesNet.py
+++ b/pyload/plugins/hoster/TusfilesNet.py
@@ -1,23 +1,24 @@
# -*- coding: utf-8 -*-
-from pyload.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
-class TusfilesNet(XFSPHoster):
- __name__ = "TusfilesNet"
- __type__ = "hoster"
- __version__ = "0.04"
+class TusfilesNet(XFSHoster):
+ __name__ = "TusfilesNet"
+ __type__ = "hoster"
+ __version__ = "0.07"
__pattern__ = r'https?://(?:www\.)?tusfiles\.net/\w{12}'
__description__ = """Tusfiles.net hoster plugin"""
- __authors__ = [("Walter Purcaro", "vuolter@gmail.com"),
- ("guidobelix", "guidobelix@hotmail.it")]
+ __license__ = "GPLv3"
+ __authors__ = [("Walter Purcaro", "vuolter@gmail.com"),
+ ("guidobelix", "guidobelix@hotmail.it")]
- HOSTER_NAME = "tusfiles.net"
+ HOSTER_DOMAIN = "tusfiles.net"
- FILE_INFO_PATTERN = r'\](?P<N>.+) - (?P<S>[\d.]+) (?P<U>\w+)\['
+ INFO_PATTERN = r'\](?P<N>.+) - (?P<S>[\d.,]+) (?P<U>[\w^_]+)\['
OFFLINE_PATTERN = r'>File Not Found|<Title>TusFiles - Fast Sharing Files!'