[fix] habrahabr

This commit is contained in:
Justas Zabulionis 2023-09-14 06:26:35 -07:00 committed by Markus Heiser
parent be888810ba
commit b701ee257b

View File

@ -813,10 +813,11 @@ engines:
- name: habrahabr - name: habrahabr
engine: xpath engine: xpath
paging: true paging: true
search_url: https://habrahabr.ru/search/page{pageno}/?q={query} search_url: https://habr.com/en/search/page{pageno}/?q={query}
url_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]/@href results_xpath: //article[contains(@class, "tm-articles-list__item")]
title_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"] url_xpath: .//a[@class="tm-title__link"]/@href
content_xpath: //article[contains(@class, "post")]//div[contains(@class, "post__text")] title_xpath: .//a[@class="tm-title__link"]
content_xpath: .//div[contains(@class, "article-formatted-body")]
categories: it categories: it
timeout: 4.0 timeout: 4.0
disabled: true disabled: true