summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-10-21 14:04:00 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2016-10-21 14:04:00 +0200
commit43e47eeadd4a9d099753b35ac5b9c14ad3239dd1 (patch)
tree48a032e7a1620a811eb74e977111193a7babd996
parent76d33bb61cfe6eed60ec82bdf09d0530b7dc49a3 (diff)
downloadftr-site-config-43e47eeadd4a9d099753b35ac5b9c14ad3239dd1.tar.gz
ftr-site-config-43e47eeadd4a9d099753b35ac5b9c14ad3239dd1.zip
Update theguardian.com.txt (#215)
-rw-r--r--theguardian.com.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/theguardian.com.txt b/theguardian.com.txt
index 0a21de2..31577db 100644
--- a/theguardian.com.txt
+++ b/theguardian.com.txt
@@ -1,6 +1,7 @@
title: //h1[@itemprop='headline']
body: //article
+body: //div[contains(concat(' ',normalize-space(@class),' '),' content__main ')]//div[contains(concat(' ',normalize-space(@class),' '),' gs-container ')]
strip: //article/header/div[contains(@class, 'content__header')]
strip: //article/header/div[contains(@class, 'content__logo-container')]
strip: //article//div[contains(@class, 'content__secondary-column')]
@@ -36,6 +37,7 @@ test_contains: As the second most senior judge in the country, Lord Hoffmann, sa
test_url: http://www.theguardian.com/commentisfree/2014/jun/15/britishness-search-identity-my-part-in-camerons-odyssey
test_url: http://www.theguardian.com/world/2016/feb/17/ankara-explosion-turkey-injures-large-number-of-people-reports-say
test_url: http://www.theguardian.com/uk-news/2016/feb/11/trident-the-british-question
+test_url: https://www.theguardian.com/books/live/2016/oct/13/nobel-prize-in-literature-2016-liveblog
# Native ad
test_url: http://www.theguardian.com/sustainable-business/fairtrade-partner-zone/chocolate-cocoa-production-risk