Skip to content

Instantly share code, notes, and snippets.

@kid1carus
Forked from johntyree/getBlockLists.sh
Created July 10, 2019 16:22
Show Gist options
  • Save kid1carus/f55e1d2f1ecea36d832b7326de61baff to your computer and use it in GitHub Desktop.
Save kid1carus/f55e1d2f1ecea36d832b7326de61baff to your computer and use it in GitHub Desktop.
Make one large blocklist from the bluetack lists on iblocklist.com
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment