From 90a1a78b1e2f4d40e1d9b8e6f46aca129a9d7bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 27 Oct 2014 06:46:13 +0100 Subject: updated site_config --- inc/3rdparty/site_config/standard/reddit.com.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'inc/3rdparty/site_config/standard/reddit.com.txt') diff --git a/inc/3rdparty/site_config/standard/reddit.com.txt b/inc/3rdparty/site_config/standard/reddit.com.txt index 8871f564..ba342c7c 100755 --- a/inc/3rdparty/site_config/standard/reddit.com.txt +++ b/inc/3rdparty/site_config/standard/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[@class="expando"]//div[@class="usertext-body"] +body: (//div[contains(@class, 'noncollapsed')]//div[contains(@class, 'usertext-body')])[1] strip_id_or_class: tagline strip_id_or_class: unvotable-message @@ -17,4 +17,5 @@ strip_id_or_class: buttons 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/ \ No newline at end of file +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 -- cgit v1.2.3