summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/e2e/check_ip6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/e2e/check_ip b/tests/e2e/check_ip
index 662ab2f0..f9059063 100755
--- a/tests/e2e/check_ip
+++ b/tests/e2e/check_ip
@@ -6,13 +6,13 @@ import sys
DEMO_ISPS = ('Riseup Networks',)
-url = 'https://wtfismyip.com/json'
+url = 'https://ipapi.co/json'
with urllib.request.urlopen(url) as _url:
data = json.loads(_url.read().decode())
-isp = data['YourFuckingISP']
-ip = data['YourFuckingIPAddress']
+isp = data['org']
+ip = data['ip']
print('ISP >> %s' % isp)
print('IP >> %s' % ip)