Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 637 Bytes
title: //div[@class='printbody']/h1
body: //div[@class='printbody']
# date: //meta[@property="article:published_time"]/@content
prune: no
strip: //div[@class='printbody']//a[@href='http://www.truthdig.com/']
strip: //table[@class='footer']
strip: //h6[contains(., 'http://')]
strip_id_or_class: masthead
strip_id_or_class: addthis
strip_id_or_class: article_tools
single_page_link: //a[contains(@href, '/print/')]
test_url: http://www.truthdig.com/report/item/the_election_march_of_the_trolls_20110829/
test_contains: Most important, we must stop being afraid.
test_url: http://www.truthdig.com/dig/item/the_death_of_truth_20130505/