summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/HugefilesNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/HugefilesNet.py')
-rw-r--r--pyload/plugins/hoster/HugefilesNet.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/pyload/plugins/hoster/HugefilesNet.py b/pyload/plugins/hoster/HugefilesNet.py
index 3b9f81eb0..cbbce119f 100644
--- a/pyload/plugins/hoster/HugefilesNet.py
+++ b/pyload/plugins/hoster/HugefilesNet.py
@@ -3,23 +3,24 @@
# Test links:
# http://hugefiles.net/prthf9ya4w6s
-from pyload.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
-class HugefilesNet(XFSPHoster):
- __name__ = "HugefilesNet"
- __type__ = "hoster"
- __version__ = "0.01"
+class HugefilesNet(XFSHoster):
+ __name__ = "HugefilesNet"
+ __type__ = "hoster"
+ __version__ = "0.04"
__pattern__ = r'http://(?:www\.)?hugefiles\.net/\w{12}'
__description__ = """Hugefiles.net hoster plugin"""
- __authors__ = [("stickell", "l.stickell@yahoo.it")]
+ __license__ = "GPLv3"
+ __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)