feat: Add IPQuery.io as additional comparison source for the country code (#1006)

This commit is contained in:
xrh0905
2025-09-17 17:55:54 +02:00
committed by GitHub
parent 10466d7851
commit a7e229aaae
+1
View File
@@ -160,6 +160,7 @@ setCountry() {
[ -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.ipquery.io/?format=json" ".location.country_code"
[ -z "$COUNTRY" ] && getCountry "https://api.myip.com" ".cc"
return 0