aweihaitun 大佬有话说 :
一直很想问,怎么看ip解锁了哪些视频网站
如题,看评测好多都有ip解锁了HBO,奈飞啥的,想问问大家都用的什么脚本
好东东 大佬有话说 :
yc019t 我用人肉测试怎么办 yc002t
主机我来了 大佬有话说 :
知识盲区,帮顶。
kzklot 大佬有话说 :
yc022t…分享一下唄…
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast
image 大佬有话说 :
kzklot 大佬有话说 : 2020-2-26 23:44
…分享一下唄…
不是只有bilibili么
kzklot 大佬有话说 :
本帖最后由 kzklot 于 2020-2-26 23:50 编辑
image 大佬有话说 : 2020-2-26 23:46
不是只有bilibili么
HBONow
Function_MediaUnlockTest_HBONow() {
echo -n -e " HBO Now:tttt->c"
# 尝试获取成功的结果
local result="$(curl –user-agent "${UA_Browser}" -4 -fsL –max-time 30 –write-out "%{url_effective}n" –output /dev/null https://play.hbonow.com/)"
if [ "$?" = "0" ]; then
# 下载页面成功,开始解析跳转
if [ "${result}" = "https://play.hbonow.com" ] || [ "${result}" = "https://play.hbonow.com/" ]; then
echo -n -e "r HBO Now:tttt${Font_Green}Yes${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_HBONow="Yes"
elif [ "${result}" = "http://hbogeo.cust.footprint.net/hbonow/geo.html" ] || [ "${result}" = "http://geocust.hbonow.com/hbonow/geo.html" ]; then
echo -n -e "r HBO Now:tttt${Font_Red}No${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_HBONow="No"
else
echo -n -e "r HBO Now:tttt${Font_Yellow}Failed (due to parse fail)${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_HBONow="Failed (due to parse fail)"
fi
else
# 下载页面失败,返回错误代码
echo -e "r HBO Now:tttt${Font_Yellow}Failed (due to network fail)${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_HBONow="Failed (due to network fail)"
fi
}
BahamutAnime
Function_MediaUnlockTest_BahamutAnime() {
echo -n -e " Bahamut Anime:tttt->c"
# 尝试获取成功的结果
# local result="$(curl -4 –user-agent "${UA_Browser}" –output /dev/null –write-out "%{url_effective}" –max-time 30 -fsL https://ani.gamer.com.tw/animePay.php)"
local tmpresult="$(curl -4 –user-agent "${UA_Browser}" –max-time 30 -fsL ‘https://ani.gamer.com.tw/ajax/token.php?adID=89422&sn=14667’)"
if [ "$?" != "0" ]; then
echo -n -e "r Bahamut Anime:tttt${Font_Red}Failed (due to network fail)${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_BahamutAnime="Failed (due to network fail)"
return 1
fi
local result="$(echo $tmpresult | jq -r .animeSn)"
if [ "$result" != "null" ]; then
resultverify="$(echo $result | grep -oE ‘{1,}’)"
if [ "$?" = "0" ]; then
echo -n -e "r Bahamut Anime:tttt${Font_Green}Yes${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_BahamutAnime="Yes"
else
echo -n -e "r Bahamut Anime:tttt${Font_Red}Failed (due to parse fail)${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_BahamutAnime="Failed (due to parse fail)"
fi
else
local result="$(echo $tmpresult | jq -r .error.code)"
if [ "$result" != "null" ]; then
resultverify="$(echo $result | grep -oE ‘{1,}’)"
if [ "$?" = "0" ]; then
echo -n -e "r Bahamut Anime:tttt${Font_Red}No${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_BahamutAnime="No"
else
echo -n -e "r Bahamut Anime:tttt${Font_Red}Failed (due to parse fail)${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_BahamutAnime="Failed (due to parse fail)"
fi
else
echo -n -e "r Bahamut Anime:tttt${Font_Red}Failed (due to parse fail)${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_BahamutAnime="Failed (due to parse fail)"
fi
fi
}
AbemaTV
Function_MediaUnlockTest_AbemaTV_IPTest() {
echo -n -e " Abema.TV:ttttc"
#
# 第一轮判断: 判断IP是否为日本IP (通过Akamai)
# 如果不是日本IP, 后续没必要继续判断了
local result="$(curl –user-agent "${UA_Browser}" -4 -fsL –write-out %{http_code} –max-time 30 –output /dev/null http://abematv.akamaized.net/region)"
if [ "$?" = "0" ]; then
if [ "${result}" = "200" ]; then
# 当Akamai 返回 HTTP 200 (OK) 时, 继续第二轮判断
local result="$(curl –user-agent "${UA_Browser}" -4 -fsL https://abema.tv/now-on-air/abema-news)"
local result="$(curl –user-agent "${UA_Browser}" -4 -fsL https://abema.tv/now-on-air/abema-news)"
local result1="$(echo $result | awk -F ‘ = ‘ ‘/window.__CLIENT_REGION__/{print $2$3}’ | grep -oP ‘(?<=’isAllowed’":)+’)"
local result2="$(echo $result | awk -F ‘ = ‘ ‘/window.__CLIENT_REGION__/{print $2$3}’ | grep -oP ‘(?<=’status’":)+’)"
if [ "${result1}" = "true" ] && [ "${result2}" = "true" ]; then
echo -n -e "r Abema.TV:tttt${Font_Green}Yes${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_AbemaTV_IPTest="Yes"
elif [ "${result1}" = "true" ] && [ "${result2}" = "false" ]; then
echo -n -e "r Abema.TV:tttt${Font_Green}Yes${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_AbemaTV_IPTest="Yes"
elif [ "${result1}" = "false" ] && [ "${result2}" = "true" ]; then
echo -n -e "r Abema.TV:tttt${Font_Red}No${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_AbemaTV_IPTest="No"
elif [ "${result1}" = "false" ] && [ "${result2}" = "false" ]; then
echo -n -e "r Abema.TV:tttt${Font_Red}No${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_AbemaTV_IPTest="No"
else
echo -n -e "r Abema.TV:tttt${Font_Red}Failed (Unexpected Return Value)${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_AbemaTV_IPTest="Failed (Unexpected Return Value)"
fi
elif [ "${result}" = "403" ]; then
echo -n -e "r Abema.TV:tttt${Font_Red}No${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_AbemaTV_IPTest="No"
elif [ "${result}" = "404" ]; then
echo -n -e "r Abema.TV:tttt${Font_Red}Failed (HTTP 404 Caught)${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_AbemaTV_IPTest="Failed (HTTP 404 Caught)"
elif [ "${result}" = "000" ]; then
echo -n -e "r Abema.TV:tttt${Font_Red}No${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_AbemaTV_IPTest="No"
else
echo -n -e "r Abema.TV:tttt${Font_Red}Failed (Unexpected HTTP Code)${Font_Suffix} ${Font_SkyBlue}(${result})${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_AbemaTV_IPTest="Failed (Unexpected HTTP Code)"
fi
else
echo -n -e "r Abema.TV:tttt${Font_Red}Failed (Network Connection)${Font_Suffix}n"
LemonBench_Result_MediaUnlockTest_AbemaTV_IPTest="Failed (Network Connection)"
fi
}
image 大佬有话说 :
kzklot 大佬有话说 : 2020-2-26 23:48
666666666666666666666666666
aweihaitun 大佬有话说 :
kzklot 大佬有话说 : 2020-2-26 23:44
…分享一下唄…
查了下这个脚本,支持
HBO Now 解锁测试
巴哈姆特动画疯解锁测试
哔哩哔哩 港澳台 及 台湾限定 解锁测试
不知道怎么检测奈飞
kzklot 大佬有话说 :
aweihaitun 大佬有话说 : 2020-2-26 23:49
查了下这个脚本,支持
HBO Now 解锁测试
巴哈姆特动画疯解锁测试
yc022t
https://w w w . n e t f l i x . c o m /title/80018499