summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-06 02:08:16 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-06 02:08:16 +0200
commit78e87559dd0afd48528d599c5c7b79d5c154b718 (patch)
tree6121a820d9bce9b34f7efa6cfee1a07f56179eef
parent[XFSCrypter] Fix LINK_PATTERN (thx GammaC0de) (diff)
downloadpyload-78e87559dd0afd48528d599c5c7b79d5c154b718.tar.xz
[LinkdecrypterComHook] Fix https://github.com/pyload/pyload/issues/1397
-rw-r--r--module/plugins/hooks/LinkdecrypterComHook.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/module/plugins/hooks/LinkdecrypterComHook.py b/module/plugins/hooks/LinkdecrypterComHook.py
index 596a397a4..d0ec83c0b 100644
--- a/module/plugins/hooks/LinkdecrypterComHook.py
+++ b/module/plugins/hooks/LinkdecrypterComHook.py
@@ -8,7 +8,7 @@ from module.plugins.internal.MultiHook import MultiHook
class LinkdecrypterComHook(MultiHook):
__name__ = "LinkdecrypterComHook"
__type__ = "hook"
- __version__ = "1.04"
+ __version__ = "1.05"
__config__ = [("activated" , "bool" , "Activated" , True ),
("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"),
@@ -22,5 +22,11 @@ class LinkdecrypterComHook(MultiHook):
def getCrypters(self):
- return re.search(r'>Supported\(\d+\)</b>: <i>(.[\w.\-, ]+)',
+ list = re.search(r'>Supported\(\d+\)</b>: <i>(.[\w.\-, ]+)',
self.getURL("http://linkdecrypter.com/", decode=True).replace("(g)", "")).group(1).split(', ')
+ try:
+ list.remove("download.serienjunkies.org")
+ except ValueError:
+ pass
+
+ return list