diff options
author | Justas Zabulionis <38244149+jazzzooo@users.noreply.github.com> | 2023-09-14 06:26:35 -0700 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-09-14 18:43:14 +0200 |
commit | b701ee257bdec82a41289c7862da47296ebe058e (patch) | |
tree | f79c60f4fb97b5b699866853c4a1c60260c48a76 /searx | |
parent | be888810ba0c98a680558a155212b0012e27a5d8 (diff) | |
download | searxng-b701ee257bdec82a41289c7862da47296ebe058e.tar.gz searxng-b701ee257bdec82a41289c7862da47296ebe058e.zip |
[fix] habrahabr
Diffstat (limited to 'searx')
-rw-r--r-- | searx/settings.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 281e69625..b8370dfb4 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -813,10 +813,11 @@ engines: - name: habrahabr engine: xpath paging: true - search_url: https://habrahabr.ru/search/page{pageno}/?q={query} - 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")] + search_url: https://habr.com/en/search/page{pageno}/?q={query} + results_xpath: //article[contains(@class, "tm-articles-list__item")] + url_xpath: .//a[@class="tm-title__link"]/@href + title_xpath: .//a[@class="tm-title__link"] + content_xpath: .//div[contains(@class, "article-formatted-body")] categories: it timeout: 4.0 disabled: true |