diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-24 01:10:40 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-24 01:10:40 +0100 |
commit | 62d0da63dd52951385b6fe38e13232bfe04dd5df (patch) | |
tree | bba06b757e0c5763588b38a4e1d2c2e36397e04c /module/plugins/hoster/HugefilesNet.py | |
parent | [XFileSharingPro] Temp disable universal hook feature (diff) | |
download | pyload-62d0da63dd52951385b6fe38e13232bfe04dd5df.tar.xz |
[HugefilesNet] Fix
Diffstat (limited to 'module/plugins/hoster/HugefilesNet.py')
-rw-r--r-- | module/plugins/hoster/HugefilesNet.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/hoster/HugefilesNet.py b/module/plugins/hoster/HugefilesNet.py index cbbce119f..f7221f8c5 100644 --- a/module/plugins/hoster/HugefilesNet.py +++ b/module/plugins/hoster/HugefilesNet.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- -# -# Test links: -# http://hugefiles.net/prthf9ya4w6s + +import re from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo @@ -9,7 +8,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo class HugefilesNet(XFSHoster): __name__ = "HugefilesNet" __type__ = "hoster" - __version__ = "0.04" + __version__ = "0.05" __pattern__ = r'http://(?:www\.)?hugefiles\.net/\w{12}' @@ -22,5 +21,7 @@ class HugefilesNet(XFSHoster): SIZE_PATTERN = r'File Size:</span>\s*<span[^>]*>(?P<S>[^<]+)</span></div>' + FORM_INPUTS_MAP = {'ctype': re.compile(r'\d+')} + getInfo = create_getInfo(HugefilesNet) |