Skip to content

Commit

Permalink
Update toriptables2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ruped24 authored Feb 25, 2021
1 parent dfa46f3 commit 719808e
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 @@ -103,7 +103,7 @@ def get_ip(self):
while retries < 12 and not my_public_ip:
retries += 1
try:
my_public_ip = load(urlopen('https://ipinfo.io/json'))['ip']
my_public_ip = load(urlopen('https://api.ipify.org?format=json'))['ip']
except URLError:
sleep(5)
print(" [\033[93m?\033[0m] Still waiting for IP address...")
Expand Down

0 comments on commit 719808e

Please sign in to comment.