mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 04:41:00 +00:00
[fix] habrahabr
This commit is contained in:
parent
be888810ba
commit
b701ee257b
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue