mirror of https://github.com/searx/searx
[fix] Update xpaths for petalsearch.com (#2932)
This commit is contained in:
parent
20480c5680
commit
b1e5ff3cf7
|
@ -1403,9 +1403,10 @@ engines:
|
||||||
engine : xpath
|
engine : xpath
|
||||||
paging : True
|
paging : True
|
||||||
search_url : https://petalsearch.com/search?query={query}&pn={pageno}
|
search_url : https://petalsearch.com/search?query={query}&pn={pageno}
|
||||||
title_xpath : //div[@class="card-title"]/span
|
results_xpath : //div[@class="container"]/div[@class="container"]
|
||||||
url_xpath : //a[@class="card-main"]/@href
|
title_xpath : .//a[@class="title"]
|
||||||
content_xpath : //div[@class="webpage-text"]
|
url_xpath : .//a[@class="title"]/@href
|
||||||
|
content_xpath : .//div[@class="webpage-text"]
|
||||||
page_size : 12
|
page_size : 12
|
||||||
categories : general
|
categories : general
|
||||||
timeout : 4.0
|
timeout : 4.0
|
||||||
|
|
Loading…
Reference in New Issue