diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-07-29 17:36:50 +0200 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-07-29 17:36:50 +0200 |
commit | f1f01d09c30d9537193a8d9282e4a2d2645b3cd0 (patch) | |
tree | 696181fe80023c91afa43bc159f5726c1e03d84f | |
parent | Merge pull request #2557 from kaarl/stable (diff) | |
download | pyload-f1f01d09c30d9537193a8d9282e4a2d2645b3cd0.tar.xz |
[Captcha9Kw] use semicolon instead of colon as a separator for hoster_options (bypass #1996)
-rw-r--r-- | module/plugins/hooks/Captcha9Kw.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/module/plugins/hooks/Captcha9Kw.py b/module/plugins/hooks/Captcha9Kw.py index 715e1f5c6..7918eb5b1 100644 --- a/module/plugins/hooks/Captcha9Kw.py +++ b/module/plugins/hooks/Captcha9Kw.py @@ -14,20 +14,20 @@ from module.plugins.internal.misc import threaded class Captcha9Kw(Addon): __name__ = "Captcha9Kw" __type__ = "hook" - __version__ = "0.35" + __version__ = "0.36" __status__ = "testing" - __config__ = [("activated" , "bool" , "Activated" , False ), - ("check_client" , "bool" , "Don't use if client is connected" , True ), - ("confirm" , "bool" , "Confirm Captcha (cost +6 credits)" , False ), - ("captchaperhour", "int" , "Captcha per hour" , "9999" ), - ("captchapermin" , "int" , "Captcha per minute" , "9999" ), - ("prio" , "int" , "Priority (max 10)(cost +0 -> +10 credits)" , "0" ), - ("queue" , "int" , "Max. Queue (max 999)" , "50" ), - ("hoster_options", "str" , "Hoster options (format: pluginname:prio=1:selfsolfe=1:confirm=1:timeout=900|...)", "ShareonlineBiz:prio=0:timeout=999 | UploadedTo:prio=0:timeout=999"), - ("selfsolve" , "bool" , "Selfsolve (manually solve your captcha in your 9kw client if active)" , "0" ), - ("passkey" , "password", "API key" , "" ), - ("timeout" , "int" , "Timeout in seconds (min 60, max 3999)" , "900" )] + __config__ = [("activated" , "bool" , "Activated" , False ), + ("check_client" , "bool" , "Don't use if client is connected" , True ), + ("confirm" , "bool" , "Confirm Captcha (cost +6 credits)" , False ), + ("captchaperhour", "int" , "Captcha per hour" , "9999" ), + ("captchapermin" , "int" , "Captcha per minute" , "9999" ), + ("prio" , "int" , "Priority (max 10)(cost +0 -> +10 credits)" , "0" ), + ("queue" , "int" , "Max. Queue (max 999)" , "50" ), + ("hoster_options", "str" , "Hoster options (format pluginname;prio=1;selfsolve=1;confirm=1;timeout=900|...)", ""), + ("selfsolve" , "bool" , "Selfsolve (manually solve your captcha in your 9kw client if active)" , "0" ), + ("passkey" , "password", "API key" , "" ), + ("timeout" , "int" , "Timeout in seconds (min 60, max 3999)" , "900" )] __description__ = """Send captchas to 9kw.eu""" __license__ = "GPLv3" @@ -79,7 +79,7 @@ class Captcha9Kw(Addon): 'cpm' : self.config.get('captchapermin')} for opt in str(self.config.get('hoster_options').split('|')): - details = map(str.strip, opt.split(':')) + details = map(str.strip, opt.split(';')) if not details or details[0].lower() != pluginname.lower(): continue |