Files
cloudflare-gateway-pihole-s…/get_recommended_filters.sh
T
mrrfv dd8b741bf2 Update filter lists
AntiMalwareHosts has to be removed because it makes the filter lists exceed the 300,000 domains limit. Furthermore, Cloudflare Zero Trust itself can be configured to block malware domains so this feels redundant.
2023-09-07 21:09:23 +02:00

19 lines
744 B
Bash

#!/bin/bash
source $(dirname "$0")/helpers.sh
# declare an array of urls
urls=(
https://raw.githubusercontent.com/mullvad/dns-blocklists/main/output/doh/doh_adblock.txt
https://raw.githubusercontent.com/mullvad/dns-blocklists/main/output/doh/doh_gambling.txt
https://raw.githubusercontent.com/mullvad/dns-blocklists/main/output/doh/doh_privacy.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts
https://adaway.org/hosts.txt
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
)
# download all files in parallel and append them to input.csv
download_lists $urls 'input.csv'
# print a message when done
echo "Done. The input.csv file contains merged data from recommended filter lists."