diff options
| author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-07-26 17:53:56 +0200 |
|---|---|---|
| committer | FiveFilters.org <fivefilters@fivefilters.org> | 2017-07-26 17:53:56 +0200 |
| commit | 3f2f8a4c2e06ef1ad7d1a1768155b1ad25fd288c (patch) | |
| tree | 1046a6ad7ecbb1dd894864a1dca4e87b1c9fe16a | |
| parent | 276d24ab13ab610a325583a8ef96c0355b94da91 (diff) | |
| download | ftr-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.txt | 5 |
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')] |
