Skip to content

Instantly share code, notes, and snippets.

@BigAl
Forked from johntyree/getBlockLists.sh
Last active January 7, 2020 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BigAl/d9c492b7370782ac48ddd01183100c7f to your computer and use it in GitHub Desktop.
Save BigAl/d9c492b7370782ac48ddd01183100c7f 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:.*iblocklist.*\)'.*/\1/p"
| xargs curl -sL --compressed
| gunzip
| egrep -v '^#'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment