aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/pcworld.com.txt
blob: 7193f87e370e08b6016d12e08272b46f6a8c297f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
title: //div[@class='articleHead']//h1
author: //div[@class="author-name"]/a[1]
body: //div[@class="main"]

# remove 'From the Lab' and 'Recent posts' text
strip: //div[@class='blogLabel']

# remove byline and meta info
strip: //h1
strip: //div[@class="article-meta"]
strip: //div[@class="author-info"]

#strip tags and categories
strip: //div[@class="department"]

#strip product cap links
strip: //div[@class="cap-main"]
strip: //div[@id="compare-lede"]
test_url: http://www.pcworld.com/article/262034/are-printer-companies-gouging-us-on-laser-toner-pricing.html