fix habrahabr xpath

This commit is contained in:
Noémi Ványi 2016-12-11 04:47:22 +01:00
parent c6ed0dae6c
commit 85f363774c
1 changed files with 2 additions and 2 deletions

View File

@ -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