From fa2b46b967b2f77c30334c28c3b6b437c762bab6 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 4 Sep 2014 22:30:52 +0200 Subject: [LoadTo] Fix patterns --- module/plugins/hoster/LoadTo.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/LoadTo.py b/module/plugins/hoster/LoadTo.py index a35712124..18398e905 100644 --- a/module/plugins/hoster/LoadTo.py +++ b/module/plugins/hoster/LoadTo.py @@ -13,27 +13,30 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class LoadTo(SimpleHoster): __name__ = "LoadTo" __type__ = "hoster" - __version__ = "0.15" + __version__ = "0.16" __pattern__ = r'http://(?:www\.)?load\.to/\w+' - __description__ = """Load.to hoster plugin""" + __description__ = """ Load.to hoster plugin """ __author_name__ = ("halfman", "stickell") __author_mail__ = ("Pulpan3@gmail.com", "l.stickell@yahoo.it") - FILE_NAME_PATTERN = r'(?P<N>.+) \/\/ Load.to' - FILE_SIZE_PATTERN = r']+>(?P.+)\s*Size: (?P.*) (?P[kKmMgG]?i?[bB])' - OFFLINE_PATTERN = r'Can\'t find file\. Please check URL' + FILE_NAME_PATTERN = r'

(?P.+)

' + FILE_SIZE_PATTERN = r'Size: (?P[\d.]+) (?P\w+)' + OFFLINE_PATTERN = r'>Can\'t find file' LINK_PATTERN = r'