Giter VIP home page Giter VIP logo

nju_autocheckin's Introduction

NJU_🐷checkin 🦠

南京大学愚蠢健康打卡自动形式主义魔法对抗打卡脚本

功能描述

  1. ⏰ 每日自动进行健康打卡,核酸时间设置为当日或昨日的8-16点
  2. 💊 本项目包含Github Actions keep alive模块,可自动激活Github Actions
  3. 📧 支持消息推送到pushplus平台
    • action 的消息推送略有延迟,实际使用不影响

使用方法

  • ❗️在fork本项目并完成配置后,请启动workflow并检查是否已经成功完成签到
  • 具体图文步骤参考 GLaDOS自动签到

1. 添加 CASTGC 到 Secrets

Deprecated web抓包coockie有效期仅1天

  1. 登陆进南京大学统一认证网站,使用F12打开开发者工具
  2. 刷新网页,在开发者控制台的 Application -> Storage -> Cookies -> https://authserver.nju.edu.cn处,找到CASTGC所对应的Value CASTGC
  3. 在项目页面,依次点击settings -> Secrets -> Actions -> New repository secret,建立名为CASTGC的secret,值为第二步复制的内容,点击Add secret完成添加

获取Android端不过期cookie

  1. 登陆进南京大学统一认证网站,使用F12打开开发者工具
  2. 设置安卓客户端User Agent代理,在开发者工具 -> More tools -> Network conditions中,取消勾选Use browser default,在下方的custom选项中填写对应安卓端UA Dalvik/2.1.0 (Linux; U; Android 12; 22011211C Build/SP1A.210812.016) CASTGC
  3. 刷新页面,可以看到整体UI变成了客户端的形式。我们就可以在开发者选项中的Application -> Storage -> Cookies找到CASTGC以及对应的Value,一个以TGT开头cas结尾的字符串。 CASTGC
  4. 在项目页面,依次点击settings -> Secrets -> Actions -> New repository secret,建立名为CASTGC的secret,值为CASTGC的对应value,点击Add secret完成添加

2. 添加PUSHPLUS_TOKEN 到 Secrets,不需要推送可以跳过此节

  1. 进入pushplus,微信登录账号,在发送消息 -> 一对一消息中找到 你的token
  2. 建立名为PUSHPLUS_TOKEN的secret,值为pushplus平台token

3. 启用Actions

在项目界面,依次点击Actions -> NJU Unhealth Autocheckin -> Run workflow -> Run workflow以激活Actions

nju_autocheckin's People

Contributors

nil-zhuang avatar kalaxy9 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.