Created
June 15, 2018 19:02
-
-
Save tonylambiris/986c4f68a5ed30a93488905f564ebfa7 to your computer and use it in GitHub Desktop.
Grabs all blocklists from iblocklist.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| curl -s https://www.iblocklist.com/lists.php | sed -n "s/.*value='\(http[^']*\)'.*/'\1'/p" | xargs -n 1 curl -sLo- | gunzip | egrep -v "^(#.*|^)$" | gzip > ~/www/blocklist.txt.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment