warp解锁奈飞


检测奈飞解锁情况

wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.61/nf_2.61_linux_amd64 && chmod +x nf && clear && ./nf

安装warp并解锁

wget -N https://cdn.jsdelivr.net/gh/fscarmen/warp/menu.sh && bash menu.sh

下面的步骤直接回车默认即可

笔者这台香港轻量服务器有些问题,等待完成即可:

更换warp ip

warp i

自动切换解锁奈飞的ip(废弃)

用warp解锁netflix的缺点是这个ip很可能马上就会被ban掉,所有需要不断warp切换ip

脚本地址在这: https://github.com/luoxue-bot/warp_auto_change_ip

我稍微做了一点修改,可以让其在后台运行:

#bin/bash!
UA_Browser="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36"

while :
do
    result=$(curl --user-agent "${UA_Browser}" -fsL --write-out %{http_code} --output /dev/null --max-time 10 "https://www.netflix.com/title/81215567" 2>&1)
    if [[ "$result" == "404" ]];then
        echo -e "Originals Only, Changing IP..."
        systemctl restart wg-quick@wgcf
        sleep 3

    elif  [[ "$result" == "403" ]];then
        echo -e "No, Changing IP..."
        systemctl restart wg-quick@wgcf
        sleep 3

    elif  [[ "$result" == "200" ]];then
                region=`tr [:lower:] [:upper:] <<< $(curl --user-agent "${UA_Browser}" -fs --max-time 10 --write-out %{redirect_url} --output /dev/null "https://www.netflix.com/title/80018499" | cut -d '/' -f4 | cut -d '-' -f1)` ;
                if [[ ! "$region" ]];then
                        region="US";
                fi
        if [[ "$region" != "US" ]];then
            echo -e "Region: ${region} Not match, Changing IP..."
            systemctl restart wg-quick@wgcf
            sleep 3
        else
            echo -e "Region: ${region} Done, monitoring..."
            sleep 6
        fi

    elif  [[ "$result" == "000" ]];then
        echo -e "Failed, retrying..."
        systemctl restart wg-quick@wgcf
    fi
done

新建一个 warp_change_ip.sh,后台运行这个脚本

nohup bash  warp_change_ip.sh >> warp_change.log &

2022-10-1 更新:不需要再使用上面脚本去更换ip,官方脚本已支持


文章作者: 空指针异常
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 空指针异常 !
评论