Update toriptables2.py

This commit is contained in:
Rupert Edwards 2018-12-30 20:18:13 -05:00 committed by GitHub
parent 0f70c46bb4
commit 74969aa919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ DNSPort %s
while retries < 12 and not my_public_ip:
retries += 1
try:
my_public_ip = load(urlopen('https://check.torproject.org/api/ip'))['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...")