summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-02 09:16:39 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-02 09:16:39 +0200
commit04f4b7aa724454a69588ecc9fa46f7dd6e65c747 (patch)
tree5964736149857953abef602be65a894ef7d118b1 /module/plugins/hooks
parentFix https://github.com/pyload/pyload/issues/1649 (diff)
downloadpyload-04f4b7aa724454a69588ecc9fa46f7dd6e65c747.tar.xz
Fix https://github.com/pyload/pyload/issues/1630
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/Captcha9Kw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/Captcha9Kw.py b/module/plugins/hooks/Captcha9Kw.py
index 10d29e2c6..2e2685978 100644
--- a/module/plugins/hooks/Captcha9Kw.py
+++ b/module/plugins/hooks/Captcha9Kw.py
@@ -63,7 +63,7 @@ class Captcha9Kw(Hook):
self.log_error(e)
return
- pluginname = re.search(r'_([^_]*)_\d+.\w+', task.captchaFile).group(1)
+ pluginname = re.search(r'_(.+?)_\d+.\w+', task.captchaFile).group(1)
option = {'min' : 2,
'max' : 50,
'phrase' : 0,
@@ -176,7 +176,7 @@ class Captcha9Kw(Hook):
queue = min(self.get_config('queue'), 999)
timeout = min(max(self.get_config('timeout'), 300), 3999)
- pluginname = re.search(r'_([^_]*)_\d+.\w+', task.captchaFile).group(1)
+ pluginname = re.search(r'_(.+?)_\d+.\w+', task.captchaFile).group(1)
for _i in xrange(5):
servercheck = self.load("http://www.9kw.eu/grafik/servercheck.txt")