Skip to content

Instantly share code, notes, and snippets.

@lucidslair666
Forked from johntyree/getBlockLists.sh
Created April 24, 2018 19:23
Show Gist options
  • Select an option

  • Save lucidslair666/c7dd0090084c0b1b065e23e19cff2869 to your computer and use it in GitHub Desktop.

Select an option

Save lucidslair666/c7dd0090084c0b1b065e23e19cff2869 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