blob: cfc6b3e1a77bc3806ad0f3edadf51925865b7f99 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
#
# List all the current bittorrent nodes
#
# NOTE: JQ can be found at https://stedolan.github.io/jq/
curl -s -H "Accept: application/json; indent=4" https://bitnodes.io/api/v1/snapshots/latest/ | jq -r '.nodes|keys[] as $k | "\($k)"' | grep -v onion | grep -v ']' | cut -d ':' -f 1
|