From 4f09a0204ee64d5d72f3a2d5bf2c2dec8225d949 Mon Sep 17 00:00:00 2001 From: zapp-brannigan Date: Wed, 9 Jul 2014 20:07:05 +0200 Subject: [LoadTo] Fixed 3 bugs --- module/plugins/hoster/LoadTo.py | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/LoadTo.py b/module/plugins/hoster/LoadTo.py index 5cad8b580..5daf1b8e3 100644 --- a/module/plugins/hoster/LoadTo.py +++ b/module/plugins/hoster/LoadTo.py @@ -20,25 +20,25 @@ import re +from module.plugins.internal.CaptchaService import SolveMedia from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo -from module.plugins.internal.CaptchaService import ReCaptcha class LoadTo(SimpleHoster): __name__ = "LoadTo" __type__ = "hoster" __pattern__ = r'http://(?:www\.)?load\.to/\w+' - __version__ = "0.13" + __version__ = "0.14" __description__ = """Load.to hoster plugin""" __author_name__ = ("halfman", "stickell") __author_mail__ = ("Pulpan3@gmail.com", "l.stickell@yahoo.it") - FILE_INFO_PATTERN = r']+>(?P.+)\s*Size: (?P\d+) (?P[kKmMgG]?i?[bB])' + FILE_INFO_PATTERN = r'(?P<N>.+) \/\/ Load.to' + FILE_SIZE_PATTERN = r']+>(?P.+)\s*Size: (?P.*) (?P[kKmMgG]?i?[bB])' URL_PATTERN = r'
404 Not Found")}) if check == "404": self.logWarning("The captcha you entered was incorrect. Please try again.") -- cgit v1.2.3