1
0
mirror of https://github.com/searx/searx synced 2024-12-28 20:15:10 +01:00

Merge pull request #2385 from joshu9h/patch-1

[Fix] Startpage
This commit is contained in:
Alexandre Flament 2020-12-14 17:56:48 +01:00 committed by GitHub
commit 292b73a3fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]'