Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Make one large blocklist from the bluetack lists on
#!/usr/bin/env sh
# Link good as of June 2018
# Download lists, unpack and filter, write to stdout
curl -s \
| sed -n "s/.*value='\(http:.*\?list=.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'

This comment has been minimized.

Copy link
Owner Author

gombosg commented Jun 29, 2018

You can use this with Transmission client by redirecting > into a file then entering the file path in Transmission settings like file://home/.../blocklist.txt.
Protip: add a cron job or systemd timer to update it daily!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.