summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-08-19 17:43:17 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-09-04 09:07:28 +0200
commita15dfa5ee11228881f7a846f89196cbdb69021fb (patch)
tree7054d5219bb6ad7ba6d87f4835202e2b8e8b8feb /searx/settings.yml
parent8e9fb0b43582aa41123dd0ff64ff5088ce0ec4c9 (diff)
downloadsearxng-a15dfa5ee11228881f7a846f89196cbdb69021fb.tar.gz
searxng-a15dfa5ee11228881f7a846f89196cbdb69021fb.zip
[fix] engine woxikon.de - don't raise exception on empty result list
Woxikon expects a word in German, so with query "foo" the site finds nothing and respons a 404: httpx.HTTPStatusError: Client error '404 Not Found' \ for url 'https://synonyme.woxikon.de/synonyme/foo.php' [1] https://github.com/searxng/searxng/issues/1543#issuecomment-1193317054 Closes: https://github.com/searxng/searxng/issues/1543 Suggested-by: @allendema [1] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/settings.yml')
-rw-r--r--searx/settings.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 416450d9b..f83c104fd 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -1808,6 +1808,7 @@ engines:
url_xpath: //div[@class="upper-synonyms"]/a/@href
content_xpath: //div[@class="synonyms-list-group"]
title_xpath: //div[@class="upper-synonyms"]/a
+ raise_for_httperror: false
about:
website: https://www.woxikon.de/
wikidata_id: # No Wikidata ID