logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 688801076d173de67bf4543ca289a35f28b6c245
parent: 234366b900b269ff2b7782a8210a581acc6de7a6
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Sun,  3 Sep 2017 23:10:05 +0200

Merge pull request #1017 from misnyo/geektimes

[fix] geektimes.ru xpath fix

Diffstat:

Msearx/settings.yml12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/searx/settings.yml b/searx/settings.yml @@ -322,9 +322,9 @@ engines: engine : xpath paging : True search_url : https://geektimes.ru/search/page{pageno}/?q={query} - url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href - title_xpath : //div[@class="search_results"]//a[@class="post__title_link"] - content_xpath : //div[@class="search_results"]//div[contains(@class, "content")] + url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href + title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"] + content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")] categories : it timeout : 4.0 disabled : True @@ -334,9 +334,9 @@ engines: engine : xpath paging : True search_url : https://habrahabr.ru/search/page{pageno}/?q={query} - 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")] + url_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"]/@href + title_xpath : //article[contains(@class, "post")]//a[@class="post__title_link"] + content_xpath : //article[contains(@class, "post")]//div[contains(@class, "post__text")] categories : it timeout : 4.0 disabled : True