summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-09-30 12:39:00 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2016-09-30 12:39:00 +0200
commitde86399953e6d4215302dc229d95299ab81b2ce5 (patch)
tree236a556410a994d24f6d702148265fd38d5993ed
parentec7e18d3516b32e30a2e66ea602d1a562d5e7843 (diff)
downloadftr-site-config-de86399953e6d4215302dc229d95299ab81b2ce5.tar.gz
ftr-site-config-de86399953e6d4215302dc229d95299ab81b2ce5.zip
Update reddit.com.txt (#206)
-rw-r--r--reddit.com.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/reddit.com.txt b/reddit.com.txt
index ba342c7..d7c8c13 100644
--- a/reddit.com.txt
+++ b/reddit.com.txt
@@ -7,7 +7,7 @@ author: //p[@class="tagline"]/a
# this doesn't work for some reason...?
date: //p[@class="tagline"]//@datetime
-body: (//div[contains(@class, 'noncollapsed')]//div[contains(@class, 'usertext-body')])[1]
+body: //div[contains(concat(' ',normalize-space(@class),' '),' usertext-body ') and (contains(concat(' ',normalize-space(@class),' '),' may-blank-within ')) and (contains(concat(' ',normalize-space(@class),' '),' md-container '))]//div[contains(concat(' ',normalize-space(@class),' '),' md ')]
strip_id_or_class: tagline
strip_id_or_class: unvotable-message
@@ -18,4 +18,5 @@ single_page_link: //p[@class="title"]/a[contains(@href, 'http://')]
test_url: http://www.reddit.com/r/truegaming/comments/wfe7r/i_wrote_about_the_problems_i_honestly_feel_that/
test_url: http://www.reddit.com/r/worldnews/comments/1as37r/twelve_north_korean_soldiers_attempting_to_defect/
-test_url: http://www.reddit.com/r/WritingPrompts/comments/2786lw/wp_in_a_world_where_puns_are_illegal_one_man/chybk8e \ No newline at end of file
+test_url: http://www.reddit.com/r/WritingPrompts/comments/2786lw/wp_in_a_world_where_puns_are_illegal_one_man/chybk8e
+test_url: https://www.reddit.com/r/LinuxActionShow/comments/1fccny/arch_linux_survival_guide/