Skip to content

Instantly share code, notes, and snippets.

@johntyree
Last active March 9, 2024 12:32
Star You must be signed in to star a gist
Save johntyree/3331662 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 '^#'
@mrglutton
Copy link

Dear everyone,

The file is no longer hosted at john.bitsurge.net and never will be again. It languished unmaintained for a very long time anyway. My suggestion to you is to run the script(s) yourself now and then. Anyone hosting iblocklists lists will eventually be asked to stop.

Thanks.

@YesTrustMe
Copy link

may i ask you a question ?

you may not. john has left.

@YesTrustMe
Copy link

This thread should be locked.

@zfkdnop
Copy link

zfkdnop commented Aug 1, 2021

curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -s https://www.iblocklist.com/lists.php \
 | sed -n "s/.*value='\(http:.*\)'.*/\1/p" \
 | xargs wget -O - \
 | gunzip \
 | egrep -v '^#'

@johntyree
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment