summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbc.com.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/bbc.com.txt b/bbc.com.txt
index 200dba6..9c09d82 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,8 @@ strip: //div[contains(@class, 'comment-introduction')]
strip: //div[contains(@class, 'share-tools')]
strip: //div[@id='also-related-links']
+strip: //aside[contains(@class, 'sp-pullout')]
+
strip_id_or_class: share-help
strip_id_or_class: comments_module
@@ -39,6 +41,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>