summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-11-17 10:48:48 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-11-17 10:48:48 +0100
commit21611a2dc7eef37afcd8f437266e0a8cb58e4ed1 (patch)
tree1e564cd37bc87e526c25de1807f1c1c4fe550f82 /module/plugins/hoster
parentMerge pull request #384 from vuolter/s/hoster/FastixRu (diff)
downloadpyload-21611a2dc7eef37afcd8f437266e0a8cb58e4ed1.tar.xz
Hoster: TusfilesNet: Pattern updated + fix skipped version gain missed on last commit
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/TusfilesNet.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/TusfilesNet.py b/module/plugins/hoster/TusfilesNet.py
index e4a64cfdc..4db551ee4 100644
--- a/module/plugins/hoster/TusfilesNet.py
+++ b/module/plugins/hoster/TusfilesNet.py
@@ -5,11 +5,11 @@ from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInf
class TusfilesNet(XFileSharingPro):
__name__ = "TusfilesNet"
__type__ = "hoster"
- __pattern__ = r"http://(www\.)?tusfiles\.net/\w{12}"
- __version__ = "0.01"
+ __pattern__ = r"http://(?:www\.)?tusfiles\.net/(?P<ID>[a-zA-Z0-9]{12})"
+ __version__ = "0.02"
__description__ = """Tusfiles.net hoster plugin"""
- __author_name__ = ("stickell")
- __author_mail__ = ("l.stickell@yahoo.it")
+ __author_name__ = ("stickell", "Walter Purcaro")
+ __author_mail__ = ("l.stickell@yahoo.it", "vuolter@gmail.com")
FILE_INFO_PATTERN = r'<li>(?P<N>[^<]+)</li>\s+<li><b>Size:</b> <small>(?P<S>[\d.]+) (?P<U>\w+)</small></li>'
FILE_OFFLINE_PATTERN = r'The file you were looking for could not be found'