Added possibility to add personal sources

This commit is contained in:
Geoffrey Frogeye 2019-11-11 11:19:46 +01:00
parent 333ae4eb66
commit a0a2af281f
11 changed files with 65 additions and 24 deletions

View file

@ -2,21 +2,6 @@
# Main script for eulaurarien
# Get all subdomains accessed by each website in the website list
./collect_subdomains.py websites.list > subdomains.list
sort -u subdomains.list > subdomains.sorted.list
./collect_subdomains.sh
./filter_subdomains.sh
# Filter out the subdomains not pointing to a first-party tracker
./filter_subdomains.py subdomains.sorted.list > toblock.list
sort -u toblock.list > toblock.sorted.list
# Format the blocklist so it can be used as a hostlist
(
echo "# First party trackers"
echo "# List generated on $(date -Isec) by eulaurarien $(git describe --tags --dirty)"
cat toblock.sorted.list | while read host;
do
echo "0.0.0.0 $host"
done
) > toblock.hosts.list