diff options
Diffstat (limited to 'module/plugins/internal/XFSHoster.py')
-rw-r--r-- | module/plugins/internal/XFSHoster.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py index d61b70e1a..96d4ab20b 100644 --- a/module/plugins/internal/XFSHoster.py +++ b/module/plugins/internal/XFSHoster.py @@ -207,6 +207,13 @@ class XFSHoster(SimpleHoster): if wait_time < self.config.get('max_wait', 10) * 60: self.handle_captcha(inputs) self.wait() + + else: + self.handle_captcha(inputs) + + if 'referer' in inputs and len(inputs['referer']) == 0: + inputs['referer'] = self.pyfile.url + else: inputs['referer'] = self.pyfile.url |