Skip to content

Instantly share code, notes, and snippets.

@laserjay
laserjay / getBlockLists.sh
Last active May 21, 2016 15:21 — forked from johntyree/getBlockLists.sh
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:.*\)'.*/\1/p" \
| xargs wget -q -O - \
| gunzip - \
| egrep -v '^#'
| gzip - > bt.gz