This commit is contained in:
Pawel Krawczyk 2015-01-12 13:46:59 +00:00
parent 307f13539d
commit f0ba9ab2fe

View File

@ -72,7 +72,7 @@ for url in $urls; do
headers=$(mktemp)
# download the blocklist
set_name=$(echo "$url" | awk -F/ '{print substring($3,0,21);}') # set name is derived from source URL hostname
set_name=$(echo "$url" | awk -F/ '{print substr($3,0,21);}') # set name is derived from source URL hostname
curl -v -s ${COMPRESS_OPT} -k "$url" >"${unsorted_blocklist}" 2>"${headers}"
# this is required for blocklist.de that sends compressed content if asked for it or not