From 8bbe6c71bb37e7cb8cae739543a18df3a4eb9b11 Mon Sep 17 00:00:00 2001 From: Rupert Edwards <12942791+ruped24@users.noreply.github.com> Date: Sun, 30 Dec 2018 07:14:33 -0500 Subject: [PATCH] Changed get IP location to TOR --- toriptables2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toriptables2.py b/toriptables2.py index 0b55d2e..581a4f3 100755 --- a/toriptables2.py +++ b/toriptables2.py @@ -67,7 +67,7 @@ DNSPort %s while retries < 12 and not my_public_ip: retries += 1 try: - my_public_ip = load(urlopen('http://ident.me/.json'))['address'] + my_public_ip = load(urlopen('https://check.torproject.org/api/ip'))['IP'] except URLError: sleep(5) print(" [\033[93m?\033[0m] Still waiting for IP address...")