diff --git a/scripts/update_readme.sh b/scripts/update_readme.sh index 75825bbd5..21e7ea4d7 100644 --- a/scripts/update_readme.sh +++ b/scripts/update_readme.sh @@ -65,6 +65,12 @@ $(print_stats) - %Monthly: percentage out of total domains from all sources. - %Filtered: percentage of dead, whitelisted, and parked domains. + +Dead domains removed today: $(mawk "/${TODAY},dead_count/" "$DOMAIN_LOG" | csvcut -c 3 | mawk '{sum += $1} END {print sum}') +Resurrected domains added today: $(mawk "/${TODAY},resurrected_count/" "$DOMAIN_LOG" | csvcut -c 3 | mawk '{sum += $1} END {print sum}') + +Parked domains removed today: $(mawk "/${TODAY},parked_count/" "$DOMAIN_LOG" | csvcut -c 3 | mawk '{sum += $1} END {print sum}') +Unparked domains added today: $(mawk "/${TODAY},unparked_count/" "$DOMAIN_LOG" | csvcut -c 3 | mawk '{sum += $1} END {print sum}') \`\`\`
@@ -120,11 +126,6 @@ Dead domains are removed daily using AdGuard's [Dead Domains Linter](https://git Dead domains that are resolving again are included back into the blocklist. -\`\`\` text -Dead domains removed today: $(mawk "/${TODAY},dead_count/" "$DOMAIN_LOG" | csvcut -c 3 | mawk '{sum += $1} END {print sum}') -Resurrected domains added today: $(mawk "/${TODAY},resurrected_count/" "$DOMAIN_LOG" | csvcut -c 3 | mawk '{sum += $1} END {print sum}') -\`\`\` - ### Parked domains Parked domains are removed daily. A list of common parked domain messages is used to automatically detect these domains. This list can be viewed here: [parked_terms.txt](https://github.com/jarelllama/Scam-Blocklist/blob/main/config/parked_terms.txt). @@ -134,11 +135,6 @@ Parked sites no longer containing any of the parked messages are assumed to be u > [!TIP] For list maintainers interested in integrating the parked domains as a source, the list of parked domains can be found here: [parked_domains.txt](https://github.com/jarelllama/Scam-Blocklist/blob/main/data/parked_domains.txt) (capped to newest 50000 entries). -\`\`\` text -Parked domains removed today: $(mawk "/${TODAY},parked_count/" "$DOMAIN_LOG" | csvcut -c 3 | mawk '{sum += $1} END {print sum}') -Unparked domains added today: $(mawk "/${TODAY},unparked_count/" "$DOMAIN_LOG" | csvcut -c 3 | mawk '{sum += $1} END {print sum}') -\`\`\` - ## Resources / See also - [AdGuard's Hostlist Compiler](https://github.com/AdguardTeam/HostlistCompiler): simple tool that compiles hosts blocklists and removes redundant rules