diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2012-02-27 22:56:22 +0100 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2012-02-27 22:56:22 +0100 |
commit | 4d25665bb3e8cf7c22a9efc6a3bbf29f29856642 (patch) | |
tree | 43311c5f380582bd22c46d3d9a1b6fba83266845 /module/plugins/hooks | |
parent | Single "if" check instead of two. (diff) | |
download | pyload-4d25665bb3e8cf7c22a9efc6a3bbf29f29856642.tar.xz |
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/LinkdecrypterCom.py | 4 |
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 |