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 engine : xpath
paging : True paging : True
search_url : https://habrahabr.ru/search/page{pageno}/?q={query} search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href url_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]/@href
title_xpath : //div[@class="search_results"]//a[@class="post_title"] title_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]
content_xpath : //div[@class="search_results"]//div[contains(@class, "content")] content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
categories : it categories : it
timeout : 4.0 timeout : 4.0