From 62d0da63dd52951385b6fe38e13232bfe04dd5df Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 24 Nov 2014 01:10:40 +0100 Subject: [HugefilesNet] Fix --- module/plugins/hoster/HugefilesNet.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'module/plugins/hoster/HugefilesNet.py') 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:\s*]*>(?P[^<]+)' + FORM_INPUTS_MAP = {'ctype': re.compile(r'\d+')} + getInfo = create_getInfo(HugefilesNet) -- cgit v1.2.3