Browse Source

Inital Commit

Signed-off-by: Amelia Aronsohn <squirrel@wearing.black>
master
Amelia A 2 years ago
commit
0ba2d0c6c0
Signed by: amy GPG Key ID: 98E879BC3B6E1BF8
  1. 7
      README.md
  2. 16
      update_deluge_blocklists.sh

7
README.md

@ -0,0 +1,7 @@
# My deluge scripts
I thought I should share these out in one repo just to help... Also, don't pirate kids.
## Update Blacklists
Use some expansion to download the most popular conprehensive blacklists and then make it a single file for Deluge, cron this up and use with the blocklist plugin. I recommend only doing this once a day at most.

16
update_deluge_blocklists.sh

@ -0,0 +1,16 @@
#!/bin/sh
BLOCKLIST_DIRECTORY="$HOME/.deluge_blocklists"
mkdir -p "$BLOCKLIST_DIRECTORY"
cd "$BLOCKLIST_DIRECTORY" || exit 5
curl --location \
http://list.iblocklist.com/?list=bt_level[1-3] \
--output "bt_level#1.gz"
gunzip --force ./*.gz
sort --unique --output=blocklist.dat bt_level*
rm bt_level*
wc -l blocklist.dat
Loading…
Cancel
Save