Giter VIP home page Giter VIP logo

v2raycloudspider's Introduction

V2Ray云彩姬

科学上网,从娃娃抓起!

🎠 Intro

  • 运行V2Ray云彩姬.exe 即可启动v2ray云彩姬获取订阅连接。
  • 运行脚本||开箱即用
  • 云彩姬使用说明

🦅 Quick Start

  • 下载方案1【Windows用户 and 网速困难户】(推荐;约17MB):下载安装向导

  • 下载方案2【Python用户推荐】:Clone项目,项目源代码都在**V2RaycSpider[驱动号]**的文件夹中

    Snipaste_2020-10-22_13-53-00

🎮 Advanced Gameplay

该脚本未在macOS测试运行,可能存在非常多的bug,欢迎感兴趣的小伙伴来跑一下程序- -

  • /V2RaySpider0925中存放该项目通用版本的源代码

  • 运行main.py启动程序

  • 安装依赖当前目录:/V2RaycSpider0925

    pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
    
  • 修改配置 config.py

⚖️ Configure project parameters

  • 请在此正确填写你的服务器信息,并将整个项目文件V2RaycSpider0925上传至linux服务器的/qinse文件夹

  • 服务器首次运行请确保已安装redis并正确配置(开放)访问权限,且安装项目Python第三方库

  • 运行./funcBase/deploy_engine.py则可部署脚本。

  • 一定确保宁的环境部署在非大陆VPS上否则大概率翻车

    # 预览运行效果;如下为默认路径
    python3 /qinse/V2RaycSpider0925/funcBase/deploy_engine.py
    # 部署
    nohup python3 /qinse/V2RaycSpider0925/funcBase/deploy_engine.py &
    # /V2RaycSpider0925/config.py
    # SYS_PATH = f'/qinse/V2RaycSpider{verNum}'
    
    # ---------------------------------------
    # Cloud server configuration(SSH)
    # ---------------------------------------
    ECS_HOSTNAME: str = 'your ip'
    ECS_PORT: int = 29710
    ECS_USERNAME: str = ''
    ECS_PASSWORD: str = ''
        
    # ---------------------------------------
    # Redis server configuration(SSH)
    # ---------------------------------------
    
    REDIS_HOST: str = 'your ip'
    REDIS_PORT: int = 6379
    REDIS_PASSWORD: str = ''
  • 设置驱动执行权限

    chromedriver设置可执行权限,如果用Finalshelll或Xshell的同学,直接右键目标文件即可设置文件权限;项目预装的驱动是最新版本的[2020.10]所以Linux中要下载v85.0.4183.102或更新版本的Chrome

    CHROMEDRIVER_PATH = os.path.dirname(__file__) + '/MiddleKey/chromedriver'
  • 安装gcc

    yum install gcc-c++
    
  • Linux安装Chrome

    • 指定yum源
    wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
    • 安装
    curl https://intoli.com/install-google-chrome.sh | bash
    • 安装后执行
    google-chrome-stable --no-sandbox --headless --disable-gpu --screenshot https://www.baidu.com/
  • 安装redis

⚡Other

  • 快速获取

    • 使用requests的get请求,分别访问以下链接,使用text抽取订阅链接

      # Python3.8
      # quick——get Subscribe API
      import requests
      
      subs_target = 'https://t.qinse.top/subscribe/{}.txt'
      
      subs_ssr = requests.get(subs_target.format('ssr')).text
      subs_trojan = requests.get(subs_target.format('trojan')).text
      subs_v2ray = requests.get(subs_target.format('v2ray')).text
      
      print("subs_ssr: {}\nsubs_: {}\nsubs_v2ray: {}\n".format(subs_ssr,subs_trojan,subs_v2ray))

      image-20201020112752998

❔Q&A

  • 防火墙警告

    • 首次运行可能会弹出提示

      3

      3

🗺️ TODO

  • 支持Trojan-go、Trojan-gfw机场的采集
  • 融合网络代理核心,形成自洽的科学上网模块
  • 合并订阅链接消息队列,PC端可查看目前在库最多25条Subscribe订阅链接,并择一获取
    • 合并队列
    • 查看链接
    • 择一获取
  • 逐渐停用easyGUI前端模块,兼容跨平台访问(手机,电脑,嵌入式系统)

v2raycloudspider's People

Contributors

qin2dim 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.