Onionr/static-data/download-tor-node-list.sh

6 lines
188 B
Bash
Executable File

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$DIR"
curl https://www.dan.me.uk/torlist/ > tor-node-list.dat
sed -i 's|^#.*$||g' tor-node-list.dat