summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-02-02 18:56:28 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-02-02 18:56:28 +0100
commit5f96aee046a5fad531aadc1fad88716960aa61f5 (patch)
tree7b8cf3b06619301a928e0a19a35907bdc74bc00b /module/plugins/hooks
parentlittle plugin fixes (diff)
downloadpyload-5f96aee046a5fad531aadc1fad88716960aa61f5.tar.xz
fix linkdecrypter hook, add 115.com
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/LinkdecrypterCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/LinkdecrypterCom.py b/module/plugins/hooks/LinkdecrypterCom.py
index 5acdbddcb..90a42150b 100644
--- a/module/plugins/hooks/LinkdecrypterCom.py
+++ b/module/plugins/hooks/LinkdecrypterCom.py
@@ -24,7 +24,7 @@ from module.utils import remove_chars
class LinkdecrypterCom(Hook):
__name__ = "LinkdecrypterCom"
- __version__ = "0.1"
+ __version__ = "0.11"
__description__ = """linkdecrypter.com - regexp loader"""
__config__ = [ ("activated", "bool", "Activated" , "True") ]
__author_name__ = ("zoidberg")
@@ -43,7 +43,7 @@ class LinkdecrypterCom(Hook):
self.logError(_("Crypter list is empty"))
return
- regexp = r"http://[\w.]*?(%s).*" % "|".join(online)
+ regexp = r"http://(\w\.)*(%s).*" % "|".join(online)
dict = self.core.pluginManager.crypterPlugins[self.__name__]
dict["pattern"] = regexp