Giter Site home page Giter Site logo

stairunlocker's Introduction

注意事项

  • 测速及解锁测试仅供参考,不代表实际使用情况,由于网络情况变化、Netflix封锁及ip更换,测速具有时效性
  • 本项目使用 Python 编写,使用前请完成环境安装
  • 首次运行前请安装pip及相关依赖,也可使用 pip install -r requirements.txt 命令自行安装
  • Netflix 解锁测速结果说明:
Full Unlock             全解锁
Only original           仅解锁自制剧
None                    未解锁

特性

  • 使用 clash-core,原生支持 Shadowsocks,Trojan,V2Ray
  • 支持普通/快速测试,可以反映解锁状态(快速测试只检查全解锁,其他状态为无解锁)
  • 支持 Netflix 解锁测试,分为 全解锁 / 仅解锁自制剧 / 无解锁 三档
  • 可上传 Gist 方便后续使用

相关依赖

Python第三方库 见 requirements.txt

支持平台

已测试平台

  1. Windows 10 x64
  2. Debian 10 x64
  3. Ubuntu 20 x64
  4. macOS 10.15.7 x64

致谢

使用说明

  1. 配置文件说明
{
  "localAddress": "127.0.0.1",
  //clash的监听地址
  "mixPort": 7890,
  //clash的代理端口
  "controlPort": 9090,
  //clash的api端口
  "fastMode": true,
  //快速模式,只测试全解锁
  "converterAPI": "https://subcon.dlj.tf",
  //subconverter 服务器地址
  "subURL": "",
  //订阅地址
  "include": "",
  //节点包含关键字,支持正则
  "exclude": "IPV6|本站|剩余|过期|用户|官网",
  //排除节点关键字,支持正则
  "localFile": true,
  //true为导出到 list.yaml 文件,false为上传到Gist。若上传Gist,需申请github的token
  "token": ""
  //github token
}
  1. 安装第三方库:
pip install -r requirements.txt
  1. 运行程序:
python3 ./main.py
  1. 命令参数:
usage: main.py [-h] [-u SUBURL] [-t TOKEN] [-g GISTURL]

optional arguments:
  -h, --help                   show this help message and exit
  -u SUBURL, --url SUBURL      Load config from subscription url
  -t TOKEN, --token TOKEN      The github token
  -g GISTURL, --gist GISTURL   The gist api URL

使用actions自动更新

将项目fork后,在本地运行一遍。然后将配置文件中的 SUBURL, TOKEN, GISTURL 设置到环境变量即可使用actions自动更新gist。

stairunlocker's People

Contributors

septrum101 avatar

Stargazers

 avatar Tiger Zhao avatar 118pp avatar josiah chan avatar  avatar  avatar 天边飞来一只鸡 avatar Serendipity avatar  avatar  avatar xiaose avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

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.