Clean up country code URL sources in run script

Removed unused URL sources for country code lookup.
This commit is contained in:
Alexandre
2025-11-24 08:59:09 +01:00
committed by GitHub
parent 7308f78a39
commit 7ee0c3785e

View File

@@ -46,9 +46,7 @@ _fetch_country_code() {
local urls=(
"https://ipapi.co/country/"
"http://ip-api.com/line/?fields=countryCode"
"https://ifconfig.co/country-iso"
"https://ipinfo.io/country"
"https://www.icloud.com/geo/country_code/"
)
local shuffled_urls_output
shuffled_urls_output=$(printf '%s\n' "${urls[@]}" | shuf)