From 573f91143ce557d82c0772f94f63666ff1aa6272 Mon Sep 17 00:00:00 2001 From: Allen <64094914+allendema@users.noreply.github.com> Date: Mon, 19 Jul 2021 18:24:39 +0200 Subject: [PATCH] [enh] Add ask.com engine --- searx/settings.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 3284c985..b4b2d5f1 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1362,6 +1362,26 @@ engines: require_api_key: false results: html + - name : ask + shortcut : ask + engine : xpath + timeout : 3.0 + disabled : True + categories : general + paging : True + page_size : 10 + search_url : https://www.ask.com/web?q={query}&qo=pagination&page={pageno} + title_xpath : //a[@class="PartialSearchResults-item-title-link result-link"] + url_xpath : //a[@class="PartialSearchResults-item-title-link result-link"]/@href + content_xpath : //p[@class="PartialSearchResults-item-abstract"] + suggestion_xpath : //span[@class="PartialRelatedSearch-item-link-text"] + about: + website: https://ask.com + wikidata_id : Q847564 + use_official_api: false + require_api_key: false + results: HTML + - name : naver shortcut: nvr engine: xpath