Skip to content

Commit

Permalink
Changed getting public IP location
Browse files Browse the repository at this point in the history
  • Loading branch information
ruped24 committed Jul 1, 2018
1 parent 88e35d6 commit 6c2f9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toriptables2.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def restart_tor():
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...")
Expand Down

1 comment on commit 6c2f9a3

@ruped24
Copy link
Owner Author

@ruped24 ruped24 commented on 6c2f9a3 Jul 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IP lookup benchmark script -- Jsonip vs. Identme

Please sign in to comment.