diff --git a/toriptables2.py b/toriptables2.py index 8e47709..0b55d2e 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://jsonip.com/'))['ip'] + my_public_ip = load(urlopen('http://ident.me/.json'))['address'] except URLError: sleep(5) print(" [\033[93m?\033[0m] Still waiting for IP address...")