From f9a78e7ff37cc7b2420a58cfb7539453aa78678c Mon Sep 17 00:00:00 2001 From: Stefano Date: Wed, 6 Mar 2013 23:01:32 +0100 Subject: LinkdecrypterCom: regex fix --- module/plugins/hooks/LinkdecrypterCom.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins') diff --git a/module/plugins/hooks/LinkdecrypterCom.py b/module/plugins/hooks/LinkdecrypterCom.py index a554e05eb..2cb91d120 100644 --- a/module/plugins/hooks/LinkdecrypterCom.py +++ b/module/plugins/hooks/LinkdecrypterCom.py @@ -24,14 +24,14 @@ from module.utils import remove_chars class LinkdecrypterCom(Hook): __name__ = "LinkdecrypterCom" - __version__ = "0.15" + __version__ = "0.16" __description__ = """linkdecrypter.com - regexp loader""" __config__ = [ ("activated", "bool", "Activated" , "True") ] __author_name__ = ("zoidberg") def coreReady(self): page = getURL("http://linkdecrypter.com/") - m = re.search(r'Supported: ([^+<]*)', page) + m = re.search(r'Supported\(\d+\): ([^+<]*)', page) if not m: self.logError(_("Crypter list not found")) return @@ -56,4 +56,4 @@ class LinkdecrypterCom(Hook): dict["pattern"] = regexp dict["re"] = re.compile(regexp) - self.logDebug("REGEXP: " + regexp) \ No newline at end of file + self.logDebug("REGEXP: " + regexp) -- cgit v1.2.3