summaryrefslogtreecommitdiff
path: root/remove-tags.sh
diff options
context:
space:
mode:
Diffstat (limited to 'remove-tags.sh')
-rwxr-xr-xremove-tags.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/remove-tags.sh b/remove-tags.sh
index c1a5c1e..5f46c92 100755
--- a/remove-tags.sh
+++ b/remove-tags.sh
@@ -6,6 +6,7 @@ curl -x 'socks5://127.0.0.1:9050' -s "$1" \
s/</\n</g
' \
| sed -n '
+ /^<!--.*>$/ d
/^<!--/,/-->$/ d
/^<script[ >]/,\,^</script>$, d
/^<body\(>$\|\s\)/,\,^</body>$, p