diff --git a/get-hosts.sh b/get-hosts.sh index 5cc1b8a..2c6a409 100755 --- a/get-hosts.sh +++ b/get-hosts.sh @@ -27,18 +27,10 @@ if [ -z "$hosts2" ]; then >&2 echo "lupa-capsules.txt download failed." exit 1 fi -#hosts3=$(agunua --binary --maximum-time 20 \ -# gemini://auragem.space/search/capsules 2>/dev/null \ -# | grep "gemini://" | cut -d ' ' -f 2 | cut -d '/' -f 3) -#if [ -z "$hosts3" ]; then -# >&2 echo "geminispace.info/known-hosts download failed." -# exit 1 -#fi # Concatenate hosts files. hosts="$hosts1 $hosts2" -#$hosts3" # Remove empty lines; convert punycode to unicode; sort entries; remove duplicates. hosts=$(echo "$hosts" | awk NF | idn --allow-unassigned --idna-to-unicode | sort -fu)