summaryrefslogtreecommitdiff
path: root/habrahabr.ru.txt
blob: 6f719685eb4f341e869ceb3d38ae3cd274595833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
title: //span[@class="post_title"]
author: //div[@class="author"]
date: //div[@class="published

body: //div[contains(concat(' ',normalize-space(@class),' '),' content ')] | //div[@id='comments']

strip_id_or_class: comment-item__controls
strip_id_or_class: voting-wjt voting-wjt_comments js-voting

strip: //a[@class="link_to_comment"]
strip: //div[@class="show_tree"]
strip: //a[@class="to_parent"]


replace_string(class="reply_comments"): style="padding-left: 20px"
replace_string(class="voting   "): style="float: right"
replace_string(src="//habrastorage.org/getpro/habr/avatars/): style="width:24px; height:24px;" class="123" src="//habrastorage.org/getpro/habr/avatars/
replace_string(class="info  "): style="padding-top:5px;font-size:0.85em;line-height:24px;"


prune: no
tidy: no

test_url: http://habrahabr.ru/post/229883/
test_url: https://habrahabr.ru/company/mailru/blog/324078/