Skip to content

Commit

Permalink
Update toriptables2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ruped24 authored Dec 31, 2018
1 parent 0f70c46 commit 74969aa
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('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...")
Expand Down

1 comment on commit 74969aa

@ruped24
Copy link
Owner Author

@ruped24 ruped24 commented on 74969aa Dec 31, 2018

Choose a reason for hiding this comment

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

Test script -- python
Test script -- bash

Please sign in to comment.