Giter VIP home page Giter VIP logo

fuckcampus's Introduction

Fuck Daily CP

🏆原作者及贡献者

Finch

0x0

柠火

🌈简介

今日校园自动打卡脚本(不局限于健康打卡,包括收集表,通知确认)。

可以挂服务器上定时自动打卡。

健康的人可以用一下(雾)。

img

🎈说明‼

  • 理论上支持大部分学校(学号登录)和任意表单内容的自定义。

  • 运行程序之前,请务必修改文件内的 JSON 文件 ❗❗❗

  • 因为表单的内容多种多样,不可能共享给其他人使用,因此本脚本采用 “一次编辑,永久使用” 的思路(当然不排除导员更换了通知内容🐶)。

🍕食用方法

使用 Github Action 自动提交 辅导员通知

  1. GithubFork 本仓库

image-20210219161433765

  1. Fork 完成后,点击 Settings ,增加 SCHOOL_NAMEACCOUNTPASSWORDADDRESSSCKEY 共计 5 个 Secrets,分别对应你的学校名称(中文名全称)、账号密码定位地址Server酱SCKEY

    image-20210219161928451

  2. 运行之前请务必删除 formdb 目录下 79d6c...31b7acfa.json 文件。

image-20210219163416535

  1. 依次点击ActionsI understand ...Enable workflow

image-20210219164821807

image-20210219165033296

直至如图所示即可。

image-20210219165110229

  1. 因为表单的内容多种多样,第一次运行需查看GithubAction运行详情,在py函数中我已经让程序输出newFormjson信息。用户需按照本Github Action的第一次执行结果在formdb文件夹下创建要求的json文件。

image-20210219165626811

在此处我遇到很多问题,有几点需要提醒一下食用者们:

  • 要求创建的json文件内容务必和程序输出newForm内容一致。
  • 创建的json文件必须以自身情况进行填写,填写要求请参考formdb文件内1129.json1130.json文件。
  • 创建的文件必须是json格式,不得有语法错误,例如
    • 英文单引号必须转为英文双引号;
    • True必须改为true;
    • None必须改为null
    • ……
  1. 选择以下任一方式运行此Action项目。
    • 1.push
    • 2.自己给自己 Star
    • 3.每日 11:0012:00 分别自动运行一次

🎨效果截图

image-20210220102213315

image-20210220102338192

image-20210220102137421

img

🎉后记

本项目版权归属其Gitee作者,如有侵权立删。本项目在原作品上增加了打印 辅导员通知json信息以及 serve酱 微信提醒。

  • 如果你平时更喜欢使用QQ,你可以尝试接入Qmsg酱 进行QQ消息提醒。

  • 如果你是新手,就按照本教程一步一步进行操作。

  • 如果你熟悉python,你可以尝试自己魔改。

fuckcampus's People

Contributors

baixf-xyz 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.