summaryrefslogtreecommitdiff
path: root/lifehacker.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2013-08-27 13:59:20 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2013-08-27 13:59:20 +0200
commit7cace50c6788b20f801a6bbf0af63ded11e0e247 (patch)
treeec9121633b35677b7f25d1951ccbf55f405b84c4 /lifehacker.com.txt
parent3c48d81713f9ff2cb9005d4ea39d025932abcca5 (diff)
downloadftr-site-config-7cace50c6788b20f801a6bbf0af63ded11e0e247.tar.gz
ftr-site-config-7cace50c6788b20f801a6bbf0af63ded11e0e247.zip
lifehacker.com
Diffstat (limited to 'lifehacker.com.txt')
-rw-r--r--lifehacker.com.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/lifehacker.com.txt b/lifehacker.com.txt
index a3c5bb6..ec97f06 100644
--- a/lifehacker.com.txt
+++ b/lifehacker.com.txt
@@ -4,6 +4,8 @@ author://a[@class="plus-icon modfont"]
# Add date and time
date: //span[@class="date"]
+body: //div[contains(@class, 'marquee-asset-wrapper') or contains(@class, 'post-content')]
+
# Remove date and time from article text
strip: //span[@class="date"]
@@ -24,6 +26,8 @@ strip: //div[@id='agegate_IDHERE']
# Remove follow text
strip: //*[(@class="permalink_ads")]
+strip_id_or_class: inset_groups
+
# Remove view/comment count
strip: //div[@id='wrapper']/div[2][@class='postmeta_permalink_wrapper']/div[1][@class='postmeta_permalink']/div[2][@class='pm_line']
@@ -39,4 +43,5 @@ strip: //p[@class="arrow"]
# Remove "track" image from article body
strip: //img[@alt="track"]
test_url: http://lifehacker.com/5925801/how-can-i-turn-vague-goals-into-actionable-to+dos
-test_url: http://lifehacker.com/5941600/hack-an-old-computer-mouse-into-a-wireless-bluetooth-mouse \ No newline at end of file
+test_url: http://lifehacker.com/5941600/hack-an-old-computer-mouse-into-a-wireless-bluetooth-mouse
+test_url: http://lifehacker.com/what-happens-to-the-brain-when-you-meditate-and-how-it-1202533314 \ No newline at end of file