summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-07-26 17:53:56 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2017-07-26 17:53:56 +0200
commit3f2f8a4c2e06ef1ad7d1a1768155b1ad25fd288c (patch)
tree1046a6ad7ecbb1dd894864a1dca4e87b1c9fe16a
parent276d24ab13ab610a325583a8ef96c0355b94da91 (diff)
downloadftr-site-config-3f2f8a4c2e06ef1ad7d1a1768155b1ad25fd288c.tar.gz
ftr-site-config-3f2f8a4c2e06ef1ad7d1a1768155b1ad25fd288c.zip
Remove replacement of script (#318)
It generates too much noise and badly handle some closing script tag which generate a whole div with a `display:none` which is then removed because being `display:none`.
-rw-r--r--nytimes.com.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/nytimes.com.txt b/nytimes.com.txt
index cbc6734..07aeda4 100644
--- a/nytimes.com.txt
+++ b/nytimes.com.txt
@@ -26,11 +26,6 @@ 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')]