Blocklist update 2025-08-11 21:53:34

This commit is contained in:
MillerUk
2025-08-11 21:53:35 +00:00
parent 2e46e95d98
commit d3f11cd796

View File

@@ -1,8 +1,7 @@
#!/bin/bash
# Navigate to blocklist directory
cd /home/adguard-filter-list/ || { echo "Directory not found: ./data/blocklist/"; exit 1; }
cd /home/adguard-filter-list/
# Make sure we have latest repo
git pull
@@ -12,7 +11,7 @@ oisd_url="https://big.oisd.nl"
oisd_file="../oisd.txt"
echo "Downloading oisd.txt from $oisd_url..."
wget -q -O $oisd_file $oisd_url
curl $oisd_url -o $oisd_file
# Verify the download
@@ -23,8 +22,6 @@ else
echo "Successfully downloaded $oisd_file"
fi
cd /opt/adguard-filter-list/
# Create compiled blocklist
time /usr/local/bin/hostlist-compiler -v -c hostlist-compiler-config.json -o blocklist