mirror of
https://github.com/Nezumi-2711/cloudflare-gateway-pihole-scripts.git
synced 2026-09-22 13:38:37 +00:00
18 lines
729 B
Bash
18 lines
729 B
Bash
#!/bin/bash
|
|
|
|
# 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
|
|
node download_files.js blocklist.txt ${urls[@]}
|
|
|
|
# print a message when done
|
|
echo "Done. The blocklist.txt file contains merged data from recommended filter lists."
|