diff options
| author | FiveFilters.org <fivefilters@fivefilters.org> | 2013-04-07 14:04:32 +0200 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2013-04-07 14:04:43 +0200 |
| commit | 87c091f668c7fb574eec5337fd1c6613ea7bffaa (patch) | |
| tree | 8a811b887d8c5db0d2c01ec886a19cee6a3807c7 | |
| parent | 60b6dbea70ff87bb6cd9ac6e16a7a31fe344deed (diff) | |
| download | ftr-site-config-87c091f668c7fb574eec5337fd1c6613ea7bffaa.tar.gz ftr-site-config-87c091f668c7fb574eec5337fd1c6613ea7bffaa.zip | |
extract image and text for BBC video entries
| -rw-r--r-- | bbc.co.uk.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bbc.co.uk.txt b/bbc.co.uk.txt index a855ceb..a6f0b6b 100644 --- a/bbc.co.uk.txt +++ b/bbc.co.uk.txt @@ -1,4 +1,6 @@ body: //div[@class="story-body"] +# for video entries +body: //div[contains(@class, "videoInStory") or @id="meta-information"] title: //h1[@class="story-header"] date: //span[@class="story-date"]/span[@class='date'] @@ -29,4 +31,6 @@ replace_string(</noscript>): </div> prune: no dissolve: //h2 -test_url: http://www.bbc.co.uk/news/business-15060862
\ No newline at end of file +test_url: http://www.bbc.co.uk/news/business-15060862 +# video entry +test_url: http://www.bbc.co.uk/news/world-asia-22056933
\ No newline at end of file |
