Skip to content

Commit

Permalink
Merge pull request #118 from betaxab/p3
Browse files Browse the repository at this point in the history
Fix NowE check
  • Loading branch information
lmc999 authored May 8, 2024
2 parents 5a04148 + a0f017e commit 23906f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ function MediaUnlockTest_MyTVSuper() {

function MediaUnlockTest_NowE() {

local result=$(curl $useNIC $usePROXY $xForward -${1} ${ssll} -fsL --write-out %{http_code} --output /dev/null --max-time 10 'https://ewcdn110.nowe.com/session/16-5-560c3a8-2106035143489306129/Content/DASH_VOS3/VOD/16695/17618/902c7694-1075-4c29-b012-69ede1891bcd/f076ed7d-afc3-7511-64e7-63f765b4f741/stream_1/init.m4i' -H 'host: ewcdn110.nowe.com' -H 'connection: keep-alive' -H 'sec-ch-ua: "Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"' -H 'sec-ch-ua-mobile: ?0' -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36' -H 'sec-ch-ua-platform: "Windows"' -H 'accept: */*' -H 'origin: https://www.nowe.com' -H 'sec-fetch-site: same-site' -H 'sec-fetch-mode: cors' -H 'sec-fetch-dest: empty' -H 'referer: https://www.nowe.com/' -H 'accept-language: en')
local result=$(curl $useNIC $usePROXY $xForward -${1} ${ssll} -fsL --write-out %{http_code} --output /dev/null --max-time 10 'https://ewcdn109.nowe.com/session/16-5-c3247b0ab8a022b6f0d19375279/Content/DASH_VOS3/VOD/13523/7253/bf4f731e-3253-49f5-bd13-dbf557c8c94c/02ea5204-5c24-c532-2ebf-2a4938a1c7ad/stream_4/init.m4i' -H 'host: ewcdn110.nowe.com' -H 'connection: keep-alive' -H 'sec-ch-ua: "Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"' -H 'sec-ch-ua-mobile: ?0' -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36' -H 'sec-ch-ua-platform: "Windows"' -H 'accept: */*' -H 'origin: https://www.nowe.com' -H 'sec-fetch-site: same-site' -H 'sec-fetch-mode: cors' -H 'sec-fetch-dest: empty' -H 'referer: https://www.nowe.com/' -H 'accept-language: en')

if [[ "$result" == "200" ]]; then
echo -n -e "\r Now E:\t\t\t\t\t${Font_Green}Yes${Font_Suffix}\n"
Expand Down

0 comments on commit 23906f1

Please sign in to comment.