logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 85f363774c94ae8db67bea5de9eddcba4d2757a0
parent c6ed0dae6ca021900824a71bcf0e3be430a39bd6
Author: Noémi Ványi <sitbackandwait@gmail.com>
Date:   Sun, 11 Dec 2016 04:47:22 +0100

fix habrahabr xpath

Diffstat:

Msearx/settings.yml4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/searx/settings.yml b/searx/settings.yml @@ -282,8 +282,8 @@ engines: engine : xpath paging : True search_url : https://habrahabr.ru/search/page{pageno}/?q={query} - url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href - title_xpath : //div[@class="search_results"]//a[@class="post_title"] + url_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]/@href + title_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")] content_xpath : //div[@class="search_results"]//div[contains(@class, "content")] categories : it timeout : 4.0