mirror of https://github.com/searxng/searxng.git
fix habrahabr xpath
This commit is contained in:
parent
c6ed0dae6c
commit
85f363774c
|
@ -282,8 +282,8 @@ engines:
|
||||||
engine : xpath
|
engine : xpath
|
||||||
paging : True
|
paging : True
|
||||||
search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
|
search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
|
||||||
url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
|
url_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]/@href
|
||||||
title_xpath : //div[@class="search_results"]//a[@class="post_title"]
|
title_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]
|
||||||
content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
|
content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
|
||||||
categories : it
|
categories : it
|
||||||
timeout : 4.0
|
timeout : 4.0
|
||||||
|
|
Loading…
Reference in New Issue