summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-02-27 22:56:22 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-02-27 22:56:22 +0100
commit4d25665bb3e8cf7c22a9efc6a3bbf29f29856642 (patch)
tree43311c5f380582bd22c46d3d9a1b6fba83266845 /module/plugins/hooks
parentSingle "if" check instead of two. (diff)
downloadpyload-4d25665bb3e8cf7c22a9efc6a3bbf29f29856642.tar.xz
fixed #532, #543, letitbit, extabit, linkdecrypter; allow rs+nl.in free account
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 90a42150b..9192ca1a9 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.11"
+ __version__ = "0.12"
__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://([^.]+\.)*?(%s)/.*" % "|".join(online)
dict = self.core.pluginManager.crypterPlugins[self.__name__]
dict["pattern"] = regexp