summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2023-01-29 20:48:43 +0100
committerGitHub <noreply@github.com>2023-01-29 20:48:43 +0100
commit9d102fb08ff4a7dc04d093561adde60436e3f69e (patch)
tree6df4803a3f1ff0433c0f6c3344ea9133704c6f41 /searx/engines
parent4f808088f146b5f2c21b219d57d7bff885d8b9c2 (diff)
parent031162be0471650c09c25954b5251d06d8c042e1 (diff)
downloadsearxng-9d102fb08ff4a7dc04d093561adde60436e3f69e.tar.gz
searxng-9d102fb08ff4a7dc04d093561adde60436e3f69e.zip
Merge pull request #2132 from dalf/update_pr_1967
search.suspended_time settings: bug fixes
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/startpage.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py
index 24aa59d03..f857f7b6d 100644
--- a/searx/engines/startpage.py
+++ b/searx/engines/startpage.py
@@ -62,8 +62,7 @@ sc_code = ''
def raise_captcha(resp):
if str(resp.url).startswith('https://www.startpage.com/sp/captcha'):
- # suspend CAPTCHA for 7 days
- raise SearxEngineCaptchaException(suspended_time=7 * 24 * 3600)
+ raise SearxEngineCaptchaException()
def get_sc_code(headers):