if in einfacher Version
This commit is contained in:
parent
283c577b87
commit
2be770a3ba
1 changed files with 1 additions and 4 deletions
|
@ -9,10 +9,7 @@ date=$(date '+%a, %d %b %Y %H:%M:%S %z')
|
||||||
while read p; do
|
while read p; do
|
||||||
echo "#!MARKER- Begin of $p" >> pre-adblock.txt
|
echo "#!MARKER- Begin of $p" >> pre-adblock.txt
|
||||||
|
|
||||||
wget -qO - $p >> pre-adblock.txt
|
wget -qO - $p >> pre-adblock.txt || echo "$date - Download failed: $p" >> errors.log
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "$date - Download failed: $p" >> errors.log
|
|
||||||
fi
|
|
||||||
sleep 2
|
sleep 2
|
||||||
done <adblocklists.txt
|
done <adblocklists.txt
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue