mirror of
https://github.com/Nezumi-2711/cloudflare-gateway-pihole-scripts.git
synced 2026-09-22 13:38:37 +00:00
19 lines
748 B
Bash
19 lines
748 B
Bash
#!/bin/bash
|
|
|
|
source $(dirname "$0")/lib/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." |