diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2016-12-11 04:47:22 +0100 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2016-12-11 11:58:49 +0100 |
commit | 85f363774c94ae8db67bea5de9eddcba4d2757a0 (patch) | |
tree | ee39e6cd24f15abb85ebde039d4e6271c45c33fb /searx/settings.yml | |
parent | c6ed0dae6ca021900824a71bcf0e3be430a39bd6 (diff) | |
download | searxng-85f363774c94ae8db67bea5de9eddcba4d2757a0.tar.gz searxng-85f363774c94ae8db67bea5de9eddcba4d2757a0.zip |
fix habrahabr xpath
Diffstat (limited to 'searx/settings.yml')
-rw-r--r-- | searx/settings.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 30d31a91d..1dff8a9f3 100644 --- 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 |