From 28e4ef9173475fc9dffe11df64db0581cc2a59c0 Mon Sep 17 00:00:00 2001 From: Allen <64094914+allendema@users.noreply.github.com> Date: Wed, 26 May 2021 23:39:32 +0200 Subject: [PATCH] Adds Dogpile as an engine (#2822) * Add Dogpile engine Example Query: [https://www.dogpile.com/serp?q=streisand+effect](https://www.dogpile.com/serp?q=streisand+effect) * Remove double "engines: " text --- searx/settings.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 6a935d4f..ac71f93a 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1281,6 +1281,26 @@ engines: use_official_api: false require_api_key: false results: HTML + + - name : dogpile + shortcut : dp + engine : xpath + paging : True + # Doesn't work without the 'sc' parameter + search_url : https://www.dogpile.com/serp?q={query}&page={pageno}&sc=Gp0GqqlRVflv20 + url_xpath : //span[@class="web-bing__url"] + title_xpath : //a[@class="web-bing__title"] + content_xpath : //span[@class="web-bing__description"] + page_size : 9 + categories : general + timeout : 7.0 + disabled : True + about: + website: https://www.dogpile.com + wikidata_id: Q3595363 + use_official_api: false + require_api_key: false + results: html - name : naver shortcut: nvr