From 8260435c8b33e0ea783a246bc1afd4164a1cfbc6 Mon Sep 17 00:00:00 2001 From: joshu9h <34069013+joshu9h@users.noreply.github.com> Date: Sun, 13 Dec 2020 15:43:50 +0100 Subject: [PATCH] [Fix] Startpage --- searx/engines/startpage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py index 90ed0a7a1..16e846a14 100644 --- a/searx/engines/startpage.py +++ b/searx/engines/startpage.py @@ -36,8 +36,8 @@ search_url = base_url + 'do/search' # specific xpath variables # ads xpath //div[@id="results"]/div[@id="sponsored"]//div[@class="result"] # not ads: div[@class="result"] are the direct childs of div[@id="results"] -results_xpath = '//div[@class="w-gl__result"]' -link_xpath = './/a[@class="w-gl__result-title"]' +results_xpath = '//div[@class="w-gl__result__main"]' +link_xpath = './/a[@class="w-gl__result-url result-link"]' content_xpath = './/p[@class="w-gl__description"]'