Skip to content

Commit

Permalink
🗑️ 移除失效 Geo IP API
Browse files Browse the repository at this point in the history
  • Loading branch information
naiba committed Jun 29, 2023
1 parent fb6c500 commit f7a6981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/monitor/myip.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

3 comments on commit f7a6981

@Erope
Copy link
Member

@Erope Erope commented on f7a6981 Jun 30, 2023

Choose a reason for hiding this comment

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

看起来不是完全失效,api.myip.la有两台主机,一台45.32.63.106 down了,另一台149.28.31.24 还在。可以观望下。

@Erope
Copy link
Member

@Erope Erope commented on f7a6981 Sep 5, 2023

Choose a reason for hiding this comment

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

@naiba 已恢复,看起来他们直接只保留了 149.28.31.24

@naiba
Copy link
Member Author

@naiba naiba commented on f7a6981 Sep 5, 2023 via email

Choose a reason for hiding this comment

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

Please sign in to comment.