From 9935b7586cd340d6a5d91fd722c6dfe2af06a23c Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Wed, 24 Feb 2021 16:28:27 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E6=B7=BB=E5=8A=A0N?= =?UTF-8?q?etflix=E6=A3=80=E6=B5=8B=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 5f0332f..cc1edd2 100644 --- a/install.sh +++ b/install.sh @@ -2813,6 +2813,13 @@ checkNetflix() { echoContent red " ---> Netflix不可用" exit fi + + netflixResult=$(curl -s -m 2 https://www.netflix.com | grep "NSEZ-403") + if [[ -n ${netflixResult} ]]; then + echoContent red " ---> Netflix不可用" + exit + fi + echoContent skyBlue " ---> 检测绝命毒师是否可以播放" result=$(curl -s -m 2 https://www.netflix.com/title/70143836 | grep "page-404") if [[ -n ${result} ]]; then @@ -3233,7 +3240,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.3.18" + echoContent green "当前版本:v2.3.19" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:七合一共存脚本" echoContent red "=============================================================="