Added api.ip2location.io (#533)

This commit is contained in:
IP2Location
2024-01-04 11:11:20 +08:00
committed by GitHub
parent e70ed1900f
commit 9d21489b8e

View File

@@ -113,6 +113,7 @@ setCountry() {
[ -z "$COUNTRY" ] && getCountry "https://api.ipapi.is" ".location.country_code"
[ -z "$COUNTRY" ] && getCountry "https://ifconfig.co/json" ".country_iso"
[ -z "$COUNTRY" ] && getCountry "https://api.ip2location.io" ".country_code"
[ -z "$COUNTRY" ] && getCountry "https://ipinfo.io/json" ".country"
[ -z "$COUNTRY" ] && getCountry "https://api.myip.com" ".cc"