From a4a77b466bf39074213ee6f2e3e23c2d51d561dd Mon Sep 17 00:00:00 2001 From: betaxab Date: Mon, 6 May 2024 15:20:47 +0800 Subject: [PATCH] Try to fix FuboTV check --- check.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check.sh b/check.sh index 5a6e9234..3400033a 100644 --- a/check.sh +++ b/check.sh @@ -1305,7 +1305,8 @@ function MediaUnlockTest_LiTV() { } function MediaUnlockTest_FuboTV() { - local tmpresult=$(curl $useNIC $usePROXY $xForward -${1} ${ssll} --user-agent "${UA_Browser}" -sSL --max-time 10 "https://api.fubo.tv/appconfig/v1/homepage?platform=web&client_version=R20230310.2&nav=v0" 2>&1) + local radom_num=${RANDOM:0-1} + local tmpresult=$(curl $useNIC $usePROXY $xForward -${1} ${ssll} --user-agent "${UA_Browser}" -sSL --max-time 10 "https://api.fubo.tv/appconfig/v1/homepage?platform=web&client_version=R20230310.${radom_num}&nav=v0" 2>&1) if [[ "$tmpresult" == "curl"* ]] && [ "$1" == "6" ]; then echo -n -e "\r Fubo TV:\t\t\t\t${Font_Red}IPv6 Not Support${Font_Suffix}\n" return