diff options
author | 2015-07-28 00:14:43 +0200 | |
---|---|---|
committer | 2015-07-28 00:14:43 +0200 | |
commit | 2e4f84afb8ae79241c805e441281ff14a2c50783 (patch) | |
tree | 2f4cd6266731cedf6400ebd51960aaf6cfdf16f6 /module/plugins/internal | |
parent | Fix https://github.com/pyload/pyload/pull/1561 (thx bilalghouri) (diff) | |
download | pyload-2e4f84afb8ae79241c805e441281ff14a2c50783.tar.xz |
Fix https://github.com/pyload/pyload/pull/1564 (thx Nippey)
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/Captcha.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Captcha.py b/module/plugins/internal/Captcha.py index 8ba1a1829..57105caea 100644 --- a/module/plugins/internal/Captcha.py +++ b/module/plugins/internal/Captcha.py @@ -46,13 +46,13 @@ class Captcha(Plugin): def decrypt(self, url, get={}, post={}, ref=False, cookies=False, decode=False, - input_type='jpg', output_type='textual', ocr=True, timeout=300): + input_type='jpg', output_type='textual', ocr=True, timeout=120): img = self.load(url, get=get, post=post, ref=ref, cookies=cookies, decode=decode) return self._decrypt(img, input_type, output_type, ocr, timeout) #@TODO: Definitely choose a better name for this method! - def _decrypt(self, raw, input_type='jpg', output_type='textual', ocr=None, timeout=300): + def _decrypt(self, raw, input_type='jpg', output_type='textual', ocr=None, timeout=120): """ Loads a captcha and decrypts it with ocr, plugin, user input |