Giter Club home page Giter Club logo

aggregator's Introduction

说明:

  • auto-checkin.py用于基于SS-Panel搭建的机场签到,renewal.py用于基于V2Board搭建的机场订阅续期
  • 支持Python2Python3
  • 目前不支持任何带有验证码(登陆或签到时需要输入验证码)功能的机场
  • 对于本项目来说,签到是最不起眼的一个小功能

免责申明

  • 本项目仅用作学习爬虫技术,请勿滥用。
  • 禁止使用该项目进行任何盈利活动,对一切非法使用所产生的后果,本人概不负责。

自动签到使用方法(支持多个机场)

1. 利用Github Actions签到(推荐)

  • 点击右上角Fork克隆本项目
  • 修改项目为私有,具体方法见Github更改仓库的可见性
  • 编辑.github/actions/checkin/config.json,填写机场域名、邮箱及密码
  • 设置密钥:分别添加名(即Name)为 AP_DOMAINSAP_EMAILSAP_PASSWORDS 的密钥并填写对应的值(即Value)。如有多个账号(不论是同一机场与否),需要在 Value 栏里一一填写并用 || 隔开 添加密钥 密钥
  • 若要修改签到时间,可修改.github/workflows/checkin.yml文件的cron配置 修改签到时间
  • 在 Actions 页面启用 workflow,可先手动触发运行一次验证配置是否正确 手动触发

2. 本地运行

  • 克隆代码库
git clone https://github.com/wzdnzd/aggregator.git
  • 安装依赖库
pip install -U requests
  • 修改 config.json 配置文件
proxyServer: 代理服务器地址,非必需

waitTime: 0 ~ 24,模拟任意时间签到,非必需

retry: 失败时重试次数,非必需

domains:支持多个机场,必须

domain:机场主域名,必须

proxy:true | false,是否使用代理

email:注册时使用的email

password:密码

aggregator's People

Contributors

qxasjtu avatar wzdnzd 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.