summaryrefslogtreecommitdiff
path: root/bbc.com.txt
diff options
context:
space:
mode:
Diffstat (limited to 'bbc.com.txt')
-rw-r--r--bbc.com.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/bbc.com.txt b/bbc.com.txt
index 200dba6..baf12b9 100644
--- a/bbc.com.txt
+++ b/bbc.com.txt
@@ -1,4 +1,4 @@
-body: //div[@class="story-body"]
+body: //div[@id="story-body"]
# for video entries
body: //div[contains(@class, "videoInStory") or @id="meta-information"]
title: //h1[@class="story-header"]
@@ -30,6 +30,11 @@ strip: //div[contains(@class, 'comment-introduction')]
strip: //div[contains(@class, 'share-tools')]
strip: //div[@id='also-related-links']
+strip: //figcaption
+strip_id_or_class: image-and-copyright-container
+
+strip: //aside[contains(@class, 'sp-pullout')]
+
strip_id_or_class: share-help
strip_id_or_class: comments_module
@@ -39,6 +44,8 @@ replace_string: http://ichef.bbci.co.uk/news/624/
find_string: http://ichef.bbci.co.uk/news/304/
replace_string: http://ichef.bbci.co.uk/news/624/
+replace_string({width}{hidpi}): 624
+
replace_string(<noscript>): <div>
replace_string(</noscript>): </div>