Git Product home page Git Product logo

unlock_warp's Introduction

【刷 WARP IP】 - 为 WARP 解锁流媒体而生

Born to make stream media unlock by WARP


目录


更新信息

2023.7.4 1.13 Wireguard-go-reserved supports changing IP; Wireguard-go-reserved 支持更换 IP

2023.6.28 1.12 Wireproxy dual-stack supports changing IP; Wireproxy 模式双栈支持更换 IP

2023.6.26 1.11 1. Warp-go uses the official api to register and cancel accounts; 2. Client proxy mode dual-stack supports changing IP; 3. Client warp mode dual-stack supports changing IP 1. warp-go 使用官方 api 注册和注销账户; 2. Client proxy 模式双栈支持更换 IP; 3. Client warp 模式双栈支持更换 IP

历史更新 history(点击即可展开或收起)

2023.3.26 1.10 Upgrade the Netflix unlocking section; 升级解锁奈飞的部分

2022.9.16 1.09 Support change IP for warp-go mode; 支持 warp-go 模式下更换 IP

2022.4.9 1.08 Support change IP for Client WARP mode; 支持 Client WRAP 模式下更换 IP

2022.4.2 1.07 1. Support change IP for WireProxy; 2. Add Misaka one-key warp. 1. 支持 WireProxy 更换 IP; 2. 新增 Misaka WARP 一键脚本

2022.2.23 1.06 1. Add two modes to unlock: systemd service and pm2 daemon; 1. 增加两个解锁模式: systemd 服务和 pm2 进程守护

2022.2.20 AC 交叉编译(cross-compilation)上传镜像,支持 AMD64、 ARM64 和 s390x

2022.2.15 Happy Lantern Festival. Bring you a new experience of docker unlock, another way to unlock Netflix. Project based on alpine. Content wgcf and unblocking Netflix scripts. Change unlock warp ip automatically. Provide a socks5 proxy for the host. Thanks Oreo ,Coia Prant and Brother Big B
元宵节快乐。为大家带来个 docker 解锁的全新体验,换个姿势解锁 Netflix。项目以 alpine 为基础系统,内含 wgcf 和解锁 Netflix 脚本,自动切换解锁 WARP IP,为宿主机提供 socks5 代理,感谢 "猫佬"、"Coia Prant"和"大B哥"

2022.2.2 1.05 1. Support switch unlock modes and stream media freely; 2. Remove ASN information. Add icon in TG push; 3. Limit the log to 1000 lines; 1. 轻松地切换解锁模式和流媒体平台; 2. 去掉日志里的线路供应商信息,在 TG push 里加入icon; 3. 限制日志在1000行

2022.1.31 1.04 1. Support push the logs to Telegram. 1. 日志结果输出到 Telegram.

2022.1.30 1.03 1. Suppport pass parameter. You can run like this:bash <(curl -sSL https://gitlab.com/fscarmen/warp_unlock/-/raw/main/unlock.sh) -E -A us -4 -N nd -M 2; 2. Improve log details

  1. 支持传参,你可以这样运行脚本: bash <(curl -sSL https://gitlab.com/fscarmen/warp_unlock/-/raw/main/unlock.sh) -E -A us -4 -N nd -M 2; 2. 日志显示更详细

2022.1.29 1.02 1. Support Disney+ 1. 支持 Disney+

2022.1.28 1.01 1. Add two ways to unlock; 2. Add running logs file 1. 增加两种解锁方式; 2. 加入运行日志

2022-01-31 21:27:35.    IP: 8.37.43.216         Country: Japan        Script runs.
2022-01-31 21:27:35.    IP: 8.37.43.216         Country: Japan        Netflix: No.
2022-01-31 21:27:56.    IP: 8.37.43.188         Country: Japan        Netflix: No.
2022-01-31 21:28:15.    IP: 8.37.43.192         Country: Japan        Netflix: No.
2022-01-31 21:28:38.    IP: 8.37.43.229         Country: Japan        Netflix: Yes.
2022-01-31 22:28:40.    IP: 8.37.43.229         Country: Japan        Script runs.
2022-01-31 22:28:42.    IP: 8.37.43.229         Country: Japan        Netflix: Yes.

beta 2022.1.26 Media unlock daemon. Check it every 5 minutes. If unlocked, the scheduled task exits immediately. If it is not unlocked, it will be swiped successfully in the background. Advantages: Minimized use of system resources. Disadvantage: Can't see the results as intuitively as screen

脚本特点

  • 支持多种主流串流影视检测,可以单选或多选

  • 支持 warp socks5 / interface 检测和更换 IP

  • 日志输出

  • 多种方式解锁: 1.crontab 每 5 分钟检测一次状态; 2. screen 后台运行; 3. nohup & 后台运行; 4. systemd service 进程守护; 5. pm2 daemon 进程守护

    Mode
    模式
    Dependencies
    依赖
    Resident Process
    常驻进程
    Maximum detection interval time
    最大检测间隔时长
    recommendation
    推荐度
    1 crontab 5 min ⭐⭐⭐⭐⭐
    2 systemd 60 min ⭐⭐⭐⭐
    3 nohup 60 min ⭐⭐⭐⭐
    4 screen screen 60 min ⭐⭐⭐
    5 pm2 node npm pm2 60 min ⭐⭐

VPS 运行脚本

1.菜单方式 (menu)

bash <(curl -sSL https://gitlab.com/fscarmen/warp_unlock/-/raw/main/unlock.sh)

2.带参数 (pass parameter)

paremeter 参数 value 值 describe 具体动作说明
-E English 英文
-C Chinese 中文
-U Uninstall 卸载
-M 1 Mode 1: detect every 5 minute 每5分钟检测
-M 2 Mode 2: run by systemd 以 systemd 方式运行
-M 3 Mode 3: run by nohup & 以 hup & 方式运行
-M 4 Mode 4: run by screen 以 screen 方式运行
-M 5 Mode 5: run by pm2 daemon 以 pm2 进程守护方式运行
-A ** region abbreviation,such as us. 地区简码,如 us
-N n Unlock Neflix 解锁奈飞
-N d Unlock Disney+ 解锁迪士尼
-N ud Unlock Neflix and Disney+ 解锁奈飞和迪士尼
-T Token@ID@Name Receive messages Bot 接收信息的 TG bot 信息

For example 1: Language is Chinese. Unlock area is Singapore. Brush WARP IPv4. Unlock Netflix and detect every 5 minute when successed. Receive message to 举例1: 用中文,解锁新加坡奈飞,当成功的时候每5分钟检测一次,

bash <(curl -sSL https://gitlab.com/fscarmen/warp_unlock/-/raw/main/unlock.sh) -C -A sg -4 -N n -M 1 -T 1730133Uu5:AAF33T7sWPB8cGu31-QoaUkjdkjzeRo1_m8@1254502669@unlock

For example 2: Display and uninstall in English 举例2: 用英文卸载

bash <(curl -sSL https://gitlab.com/fscarmen/warp_unlock/-/raw/main/unlock.sh) -E -U

TG bot 创建方法

转自 北纬37度的大飛 如何申请Telegram机器人 | 推送通知

Docker 自动解锁方案

  • 支持 AMD64 和 ARM64 机器
  • Docker 以 alpine 为底包,内置 WGCF
  • 每 5 分钟检测一次状态,TG 通知输出
  • 容器内 gost 为宿主机提供 socks5 或者 http 服务,端口为 40000,可以在xray/v2ray 配置文件里作相应设置
bash <(curl -sSL https://gitlab.com/fscarmen/warp_unlock/-/raw/main/docker.sh)

先安装 Docker, 其 IP 为 172.17.0.2 ,获取docker exec -it wgcf ip route get 172.17.0.1 | grep -oP 'src \K\S+' 并安装 mack-a 八合一脚本。编辑 /etc/v2ray-agent/xray/conf/10_ipv4_outbounds.json

{
    "outbounds": [
        {
            "protocol": "freedom"
        },
        {
            "tag": "media-unlock",
            "protocol": "socks",
            "settings": {
                "servers": [
                    {
                        "address": "172.17.0.2",
                        "port": 40000,
                        "users": []
                    }
                ]
            }
        }
    ],
    "routing": {
        "domainStrategy": "AsIs",
        "rules": [
            {
                "type": "field",
                "domain": [
                    "geosite:netflix"
                ],
                "outboundTag": "media-unlock"
            }
        ]
    }
}

鸣谢下列作者的文章和项目

互联网永远不会忘记,但人们会。

技术文章和相关项目(排名不分先后):

服务提供(排名不分先后):

unlock_warp's People

Contributors

fscarmen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

unlock_warp's Issues

亚马逊服务器安装CRON失败

脚本版本: 1.13 功能新增: Wireguard-go-reserved 支持更换 IP

======================================================================================================================

  1. 模式1: 定时5分钟检查一次,遇到不解锁时更换 WARP IP,直至刷成功
  2. 模式2: 创建 systemd 服务。进程一直在后台,当刷成功后,每隔1小时检查一次
  3. 模式3: 用 nohup 创建一个 jobs。进程一直在后台,当刷成功后,每隔1小时检查一次
  4. 模式4: 创建一个名为 [u] 的 Screen 会话。进程一直在后台,当刷成功后,每隔1小时检查一次
  5. 模式5: 安装 pm2 守护进程,安装依赖需较长时间。进程一直在后台,当刷成功后,每隔1小时检查一次
  6. 卸载
  7. 退出

请选择: 1
安装 cron 中……
Last metadata expiration check: 1 day, 2:11:58 ago on Sun 17 Sep 2023 11:28:20 AM CST.
No match for argument: cron
先升级软件库才能继续安装 cron,时间较长,请耐心等待……
Last metadata expiration check: 1 day, 2:11:58 ago on Sun 17 Sep 2023 11:28:20 AM CST.

WARNING:
A newer release of "Amazon Linux" is available.

Available Versions:

Version 2023.1.20230825:
Run the following command to upgrade to 2023.1.20230825:

  dnf upgrade --releasever=2023.1.20230825

Release notes:
 https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.1.20230825.html

Version 2023.1.20230906:
Run the following command to upgrade to 2023.1.20230906:

  dnf upgrade --releasever=2023.1.20230906

Release notes:
 https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes-2023.1.20230906.html

Version 2023.1.20230912:
Run the following command to upgrade to 2023.1.20230912:

  dnf upgrade --releasever=2023.1.20230912

Release notes:
 https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes.html

=====================================================================================================================================================================
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 1 day, 2:11:59 ago on Sun 17 Sep 2023 11:28:20 AM CST.
No match for argument: cron
安装 cron 失败,脚本中止,问题反馈:[https://github.com/fscarmen/unlock_warp/issues]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.