diff options
| author | FiveFilters.org <fivefilters@fivefilters.org> | 2013-08-18 12:53:11 +0200 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2013-08-18 12:53:11 +0200 |
| commit | 51f8e74d946d5b378f674f9dc913b1fec9aa0ac0 (patch) | |
| tree | 8abb4f62373105a753006303d7ee1fac296aab7d | |
| parent | fd23fc76fb4a13126bae8bb1028828a923afe626 (diff) | |
| download | ftr-site-config-51f8e74d946d5b378f674f9dc913b1fec9aa0ac0.tar.gz ftr-site-config-51f8e74d946d5b378f674f9dc913b1fec9aa0ac0.zip | |
nytimes.com
Deal with script elements creating trouble
| -rw-r--r-- | nytimes.com.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nytimes.com.txt b/nytimes.com.txt index b6244cd..bcba93f 100644 --- a/nytimes.com.txt +++ b/nytimes.com.txt @@ -24,6 +24,11 @@ strip: //p[@class='caption']//a[contains(., 'More Photos')] prune: no tidy: no +find_string: <script +replace_string: <div style="display:none" +find_string: </script> +replace_string: </div> + date: substring-after(//*[contains(@class, 'dateline')], 'Published:') single_page_link: //link[contains(@href, 'pagewanted=all')] @@ -35,4 +40,5 @@ author:substring-after(//h6[@class='byline'],'By ') test_url: http://www.nytimes.com/2011/07/24/books/review/an-academic-authors-unintentional-masterpiece.html test_url: http://www.nytimes.com/2012/06/10/arts/television/the-newsroom-aaron-sorkins-return-to-tv.html -test_url: http://www.nytimes.com/2013/03/25/world/middleeast/israeli-military-responds-after-patrols-come-under-fire-from-syria.html
\ No newline at end of file +test_url: http://www.nytimes.com/2013/03/25/world/middleeast/israeli-military-responds-after-patrols-come-under-fire-from-syria.html +test_url: http://www.nytimes.com/2013/08/15/nyregion/when-the-new-york-city-subway-ran-without-rails.html
\ No newline at end of file |
