@@ -972,13 +972,25 @@ function MediaUnlockTest_NowE() {
972
972
return
973
973
fi
974
974
975
- local tmpresult=$( curl ${CURL_DEFAULT_OPTS} -s ' https://webtvapi.nowe.com/16/1/getVodURL' -X POST -H " Content-Type: application/json" -d ' {"contentId":"202403181904703","contentType":"Vod","pin":"","deviceName":"Browser","deviceId":"w-663bcc51-913c-913c-913c-913c913c","deviceType":"WEB","secureCookie":null,"callerReferenceNo":"W17151951620081575","profileId":null,"mupId":null}' --user-agent " ${UA_BROWSER} " )
975
+ local tmpresult=$( curl ${CURL_DEFAULT_OPTS} -s ' https://webtvapi.nowe.com/16/1/getVodURL' \
976
+ -H ' accept: application/json, text/javascript, */*; q=0.01' \
977
+ -H ' accept-language: zh-CN,zh;q=0.9,en-GB;q=0.8,en;q=0.7,en-US;q=0.6' \
978
+ -H ' content-type: text/plain' \
979
+ -H ' origin: https://www.nowe.com' \
980
+ -H ' priority: u=1, i' \
981
+ -H ' referer: https://www.nowe.com/' \
982
+ -H ' sec-fetch-dest: empty' \
983
+ -H ' sec-fetch-mode: cors' \
984
+ -H ' sec-fetch-site: same-site' \
985
+ -H ' user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/131.0.0.0' \
986
+ --data-raw ' {"contentId":"202310181863841","contentType":"Vod","pin":"","deviceName":"Browser","deviceId":"w-678913af-3998-3998-3998-39983998","deviceType":"WEB","secureCookie":null,"callerReferenceNo":"W17370372345461425","profileId":null,"mupId":null,"trackId":"738296446.226.1737037103860.2","sessionId":"c39f03e6-9e74-4d24-a82f-e0d0f328bb70"}' )
987
+
976
988
if [ -z " $tmpresult " ]; then
977
989
echo -n -e " \r Now E:\t\t\t\t\t${Font_Red} Failed (Network Connection)${Font_Suffix} \n"
978
990
return
979
991
fi
980
992
981
- local result=$( echo " $tmpresult " | grep -woP ' "responseCode "\s{0,}:\s{0,}"\K[^"]+' )
993
+ local result=$( echo " $tmpresult " | grep -woP ' "OTTAPI_ResponseCode "\s{0,}:\s{0,}"\K[^"]+' )
982
994
case " $result " in
983
995
' GEO_CHECK_FAIL' ) echo -n -e " \r Now E:\t\t\t\t\t${Font_Red} No${Font_Suffix} \n" ;;
984
996
' SUCCESS' ) echo -n -e " \r Now E:\t\t\t\t\t${Font_Green} Yes${Font_Suffix} \n" ;;
@@ -2569,7 +2581,7 @@ function MediaUnlockTest_MegogoTV() {
2569
2581
2570
2582
local vpnDetected=$( echo " $tmpresult " | grep -i ' VPN' )
2571
2583
if [ -n " $vpnDetected " ]; then
2572
- echo -n -e " \r Abema. TV:\t\t\t\t${Font_Yellow} Yes (VPN Detected)${Font_Suffix} \n"
2584
+ echo -n -e " \r Megogo TV:\t\t\t\t${Font_Red} No (VPN Detected)${Font_Suffix} \n"
2573
2585
return
2574
2586
fi
2575
2587
@@ -4520,6 +4532,20 @@ function WebTest_Gemini() {
4520
4532
fi
4521
4533
}
4522
4534
4535
+ function WebTest_Claude() {
4536
+ local UA_Browser=" Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
4537
+ local response=$( curl ${CURL_DEFAULT_OPTS} -s -o /dev/null -w " %{http_code}" -A " ${UA_Browser} " " https://claude.ai/" )
4538
+ if [ -z " $response " ]; then
4539
+ echo -n -e " \r Claude:\t\t\t\t${Font_Red} Failed (Network Connection)${Font_Suffix} \n"
4540
+ return
4541
+ fi
4542
+ if [ " $response " -eq 200 ]; then
4543
+ echo -n -e " \r Claude:\t\t\t\t${Font_Green} Yes${Font_Suffix} \n"
4544
+ else
4545
+ echo -n -e " \r Claude:\t\t\t\t${Font_Red} No${Font_Suffix} \n"
4546
+ fi
4547
+ }
4548
+
4523
4549
function WebTest_MetaAI() {
4524
4550
local tmpresult=$( curl ${CURL_DEFAULT_OPTS} -sL ' https://www.meta.ai/' -H ' accept: */*;q=0.8,application/signed-exchange;v=b3;q=0.7' -H ' accept-language: en-US,en;q=0.9' -H " sec-ch-ua: ${UA_SEC_CH_UA} " -H ' sec-ch-ua-mobile: ?0' -H ' sec-ch-ua-platform: "Windows"' -H ' sec-fetch-dest: document' -H ' sec-fetch-mode: navigate' -H ' sec-fetch-site: none' -H ' sec-fetch-user: ?1' -H ' upgrade-insecure-requests: 1' --user-agent " ${UA_BROWSER} " )
4525
4551
if [ -z " $tmpresult " ]; then
@@ -4962,13 +4988,14 @@ function Global_UnlockTest() {
4962
4988
RegionTest_NetflixCDN &
4963
4989
WebTest_OpenAI &
4964
4990
WebTest_Gemini &
4991
+ WebTest_Claude &
4965
4992
WebTest_Wikipedia_Editable &
4966
4993
WebTest_GooglePlayStore &
4967
4994
WebTest_GoogleSearchCAPTCHA &
4968
4995
GameTest_Steam &
4969
4996
)
4970
4997
wait
4971
- local array=(" Bing Region:" " YouTube CDN:" " Netflix Preferred CDN:" " ChatGPT:" " Google Gemini:" " Wikipedia Editability:" " Google Play Store:" " Google Search CAPTCHA Free:" " Steam Currency:" )
4998
+ local array=(" Bing Region:" " YouTube CDN:" " Netflix Preferred CDN:" " ChatGPT:" " Google Gemini:" " Claude: " " Wikipedia Editability:" " Google Play Store:" " Google Search CAPTCHA Free:" " Steam Currency:" )
4972
4999
echo_result ${result} ${array}
4973
5000
show_region Forum
4974
5001
WebTest_Reddit
0 commit comments