From 9648d71ad8643f538fb631399be52f76cfd1a56e Mon Sep 17 00:00:00 2001 From: Allen <64094914+allendema@users.noreply.github.com> Date: Sat, 3 Jul 2021 18:54:43 +0200 Subject: [PATCH] [enh] add woxikon.de synonyme (Xpath) Added synonyme.woxikon.de using the xpath engine. Adds a site which returns word synonyms although just in German. Depending on the query not all synonyms are shown because of not the best xpath selection. But should do the job just fine. Upstream example query: https://synonyme.woxikon.de/synonyme/test.php --- searx/settings.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index f6937358f..3df9952c0 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1477,6 +1477,23 @@ engines: timeout: 5.0 disabled: true + - name: woxikon.de synonyme + engine: xpath + shortcut: woxi + categories: general + timeout: 5.0 + disabled: true + search_url: https://synonyme.woxikon.de/synonyme/{query}.php + url_xpath: //div[@class="upper-synonyms"]/a/@href + content_xpath: //div[@class="synonyms-list-group"] + title_xpath: //div[@class="upper-synonyms"]/a + about: + website: https://www.woxikon.de/ + wikidata_id: # No Wikidata ID + use_official_api: false + require_api_key: false + results: HTML + - name: słownik języka polskiego engine: sjp shortcut: sjp