Skip to content

Instantly share code, notes, and snippets.

@couto
Forked from johntyree/getBlockLists.sh
Created November 28, 2013 22:43
Show Gist options
  • Save couto/7699080 to your computer and use it in GitHub Desktop.
Save couto/7699080 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s http://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