Skip to content

Commit

Permalink
Update readme. Fix #393
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Dec 24, 2024
1 parent 8b45b4e commit de29586
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions scripts/update_readme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}')
\`\`\`
<details>
Expand Down Expand Up @@ -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).
Expand All @@ -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
Expand Down

0 comments on commit de29586

Please sign in to comment.