diff --git a/download.sh b/download.sh index 49621e32b8..2da3539062 100755 --- a/download.sh +++ b/download.sh @@ -23,12 +23,9 @@ # After executing the script, remember to commit the changes -# hosts -pushd hosts -echo -e "#\n# Commmunity DNS list\n#\n#\n#\n# Maintainer : Community\n# Category : Mixed\n# Confidence : 4\n#\n" > ../stevenblack.dns -python3 updateHostsFile.py --auto -tail -n +$(grep "# Start StevenBlack" -n hosts | cut -f1 -d:) hosts | grep '^0.0.0.0' | awk '{print $2}' >> ../stevenblack.dns -popd +# stevenblack hosts +echo -e "#\n# Commmunity DNS list\n#\n#\n#\n# Maintainer : Community\n# Category : Mixed\n# Confidence : 4\n#\n" > stevenblack.dns +curl -fsS https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | grep '^0.0.0.0' |grep -v -e '0.0.0.0 0.0.0.0' | awk '{print $2}' >> stevenblack.dns # adaway echo -e "#\n# Commmunity DNS list\n#\n#\n#\n# Maintainer : Community\n# Category : Ads\n# Confidence : 4\n#\n" > adaway.dns @@ -179,4 +176,4 @@ curl -fsS https://blocklistproject.github.io/Lists/alt-version/scam-nl.txt | gre # The Block List Project - Tracking echo -e "#\n# Commmunity DNS list\n#\n#\n#\n# Maintainer : Community\n# Category : Tracking\n# Confidence : 4\n#\n" > tracking-nl.dns -curl -fsS https://blocklistproject.github.io/Lists/alt-version/tracking-nl.txt | grep -v -e '#' >> tracking-nl.dns \ No newline at end of file +curl -fsS https://blocklistproject.github.io/Lists/alt-version/tracking-nl.txt | grep -v -e '#' >> tracking-nl.dns