From 71d57df9d5e7e20f5ce83959ba9317e9e8931712 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sat, 11 Jun 2016 23:37:50 +0200 Subject: [PATCH] [fix] geektimes xpath - #575 --- searx/settings.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/settings.yml b/searx/settings.yml index ff668cf7..93087568 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -234,8 +234,8 @@ 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"]/@href - title_xpath : //div[@class="search_results"]//a[@class="post_title"] + 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")] categories : it timeout : 4.0