diff options
author | Alexandre Flament <alex@al-f.net> | 2020-12-14 17:56:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 17:56:48 +0100 |
commit | 292b73a3fc36059775e5fe21300d3d4cf2855a82 (patch) | |
tree | adefdd9d1f071e15c34abffed2a3fb3b65a1795a | |
parent | 36600118fb3e40ebd172245941306943581ef6f8 (diff) | |
parent | 8260435c8b33e0ea783a246bc1afd4164a1cfbc6 (diff) | |
download | searxng-292b73a3fc36059775e5fe21300d3d4cf2855a82.tar.gz searxng-292b73a3fc36059775e5fe21300d3d4cf2855a82.zip |
Merge pull request #2385 from joshu9h/patch-1
[Fix] Startpage
-rw-r--r-- | searx/engines/startpage.py | 4 |
1 files 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"]' |