Skip to content

Commit

Permalink
Merge pull request #115 from betaxab/p1
Browse files Browse the repository at this point in the history
fix FuboTV check
  • Loading branch information
lmc999 authored May 8, 2024
2 parents 70d1073 + a4a77b4 commit 5a04148
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a04148

Please sign in to comment.