From f7a6981a8c34c8fd7d3058f36161fb4e6634c789 Mon Sep 17 00:00:00 2001 From: naiba Date: Fri, 30 Jun 2023 00:44:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=A4=B1=E6=95=88=20Geo=20IP=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/monitor/myip.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/monitor/myip.go b/pkg/monitor/myip.go index b1da0ad..06a2f6c 100644 --- a/pkg/monitor/myip.go +++ b/pkg/monitor/myip.go @@ -40,10 +40,10 @@ func (ip *geoIP) Unmarshal(body []byte) error { var ( geoIPApiList = []string{ - "http://api.myip.la/en?json", "https://api.ip.sb/geoip", "https://ipapi.co/json", "http://ip-api.com/json/", + // "http://api.myip.la/en?json", // 已失效 // "https://extreme-ip-lookup.com/json/", // 不精确 // "https://ip.seeip.org/geoip", // 不精确 // "https://freegeoip.app/json/", // 需要 Key