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:
parent
20480c5680
commit
b1e5ff3cf7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user