From f2ffebf95a9e2a23979b0b86b0d740b487cb6c37 Mon Sep 17 00:00:00 2001 From: AntiTree Date: Sat, 9 Jul 2016 19:33:24 -0400 Subject: [PATCH] updating script to show IPs --- util/get_consensus.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/get_consensus.py b/util/get_consensus.py index 3bb2272..2f35a42 100644 --- a/util/get_consensus.py +++ b/util/get_consensus.py @@ -3,5 +3,6 @@ from stem.control import Controller with Controller.from_port(port = 9051) as controller: controller.authenticate("password") + print("List of relays found on the network:") for desc in controller.get_network_statuses(): - print("found relay %s (%s)" % (desc.nickname, desc.fingerprint)) + print("%s (%s) at %s" % (desc.nickname, desc.fingerprint, desc.address))