summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-02-08 20:01:00 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-02-08 20:01:00 +0100
commitf1650f90659ac11ce7b4e530ad56f024d6ddf284 (patch)
tree9dcf9e3e2b89c7d674d4d7214f3404fffba68d57 /module/plugins/internal
parent[New Hoster] filejoker.net (diff)
downloadpyload-f1650f90659ac11ce7b4e530ad56f024d6ddf284.tar.xz
[XFSHoster] fix #2333
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/XFSHoster.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py
index ef71e944b..d61b70e1a 100644
--- a/module/plugins/internal/XFSHoster.py
+++ b/module/plugins/internal/XFSHoster.py
@@ -204,7 +204,8 @@ class XFSHoster(SimpleHoster):
wait_time = parse_time(waitmsg)
self.set_wait(wait_time)
self.set_reconnect(False)
- self.handle_captcha(inputs)
+ if wait_time < self.config.get('max_wait', 10) * 60:
+ self.handle_captcha(inputs)
self.wait()
else:
inputs['referer'] = self.pyfile.url