summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HugefilesNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/HugefilesNet.py')
-rw-r--r--module/plugins/hoster/HugefilesNet.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/HugefilesNet.py b/module/plugins/hoster/HugefilesNet.py
index 673d06d3c..cbbce119f 100644
--- a/module/plugins/hoster/HugefilesNet.py
+++ b/module/plugins/hoster/HugefilesNet.py
@@ -3,13 +3,13 @@
# Test links:
# http://hugefiles.net/prthf9ya4w6s
-from module.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
-class HugefilesNet(XFSPHoster):
+class HugefilesNet(XFSHoster):
__name__ = "HugefilesNet"
__type__ = "hoster"
- __version__ = "0.03"
+ __version__ = "0.04"
__pattern__ = r'http://(?:www\.)?hugefiles\.net/\w{12}'
@@ -18,9 +18,9 @@ class HugefilesNet(XFSPHoster):
__authors__ = [("stickell", "l.stickell@yahoo.it")]
- HOSTER_NAME = "hugefiles.net"
+ HOSTER_DOMAIN = "hugefiles.net"
- FILE_SIZE_PATTERN = r'File Size:</span>\s*<span[^>]*>(?P<S>[^<]+)</span></div>'
+ SIZE_PATTERN = r'File Size:</span>\s*<span[^>]*>(?P<S>[^<]+)</span></div>'
getInfo = create_getInfo(HugefilesNet)