Ignore more ads/ads-like paragraphs - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) changeset 1f1487c94a4a517070022981d7898ed597ba410e
(DIR) parent e0d20c97ed1958ca8a957b663aec1a04deef8596
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 26 Aug 2018 00:38:30
Ignore more ads/ads-like paragraphs
Diffstat:
technologyreview/article.cgi | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff -r e0d20c97ed19 -r 1f1487c94a4a technologyreview/article.cgi
--- a/technologyreview/article.cgi Sun Aug 26 00:13:25 2018 +0200
+++ b/technologyreview/article.cgi Sun Aug 26 00:38:30 2018 +0200
@@ -11,7 +11,10 @@
/<div class="article-social-list /,/<\/div>/ {
next
}
- /<div class="l-automated-trending--ordered" /,/<\/div>/ {
+ /^<div class="l-automated-trending--ordered" /,/^<\/div>/ {
+ next
+ }
+ /^<div class="l-automated-related--single">/,/^<\/div>/ {
next
}
/<div class="callout--tagged-event-promo"/,/<\/div>/ {
@@ -20,6 +23,9 @@
/^<div class="l-cta--left">/,/^<\/div>/ {
next
}
+ /<div class="adunit /,/<\/div>/ {
+ next
+ }
/<div class="article-enlarge__modal">/ {
exit 0