1
0
mirror of https://github.com/searx/searx synced 2024-11-26 03:39:41 +01:00

[fix] Update xpaths for petalsearch.com (#2932)

This commit is contained in:
Finn 2021-08-12 18:27:15 +02:00 committed by GitHub
parent 20480c5680
commit b1e5ff3cf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1403,9 +1403,10 @@ engines:
engine : xpath
paging : True
search_url : https://petalsearch.com/search?query={query}&pn={pageno}
title_xpath : //div[@class="card-title"]/span
url_xpath : //a[@class="card-main"]/@href
content_xpath : //div[@class="webpage-text"]
results_xpath : //div[@class="container"]/div[@class="container"]
title_xpath : .//a[@class="title"]
url_xpath : .//a[@class="title"]/@href
content_xpath : .//div[@class="webpage-text"]
page_size : 12
categories : general
timeout : 4.0