summaryrefslogtreecommitdiff
path: root/tests/e2e
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e2e')
-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)