Giter Club home page Giter Club logo

njtechscript's Introduction

开源分享一些我写过的南工大的一些自用脚本

说明:

  1. 随缘陆续开源部分脚本,有些脚本暂时不愿开源,有些脚本会部分删减后开源,有一定代码能力的人自行补全后可用。
  2. 防止脚本过早失效,请勿过度传播
  3. 自用脚本,能用就行,代码风格什么的随缘吧
  4. 脚本的技术力不高,主要有耐心就能写,不喜勿喷
  5. 禁止使用此脚本盈利,鄙视利用他人开源代码盈利的人
  6. 脚本本身不具有自动执行能力,也不会常驻运行,需要自行设置定时任务
  7. 如果觉得好用麻烦给个Star吧

目前开源的脚本如下

1. 自动健康打卡.py(填入Authentication字段即可使用)

加入了最新核酸检测时间,默认为上次填写的值,如需修改可自行修改getLastestPicker函数
由于部分学院开始查健康码,于是去除了上传虚空健康码的选项,过期后手动打卡一次,下次即可继续自动打卡
通过抓包方法获取请求头的Authentication字段(理论上不会过期)打卡。
点击查看抓包方法

2. 自动登录校园网.py(填入学号密码即可使用)(暂已失效)

与其它校园网登录脚本相比,可能是最简化的脚本,仅作了登录功能本身,并未添加其它辅助功能,更适合新手学习参考。
由于i南工登录增加了验证码,现已失效。将来如果有空会加入图像识别来实现自动登录。

3. 图书馆预约.py(填入学号密码即可使用)

由于图书馆现已改用占座系统,此脚本已无实际意义,仅供学习参考。

4. ChatGPT南工考试.py(附带题库保存和读取功能)

不要在限制作答次数的考试上用,否则后果自负!!!
不要在限制作答次数的考试上用,否则后果自负!!!
不要在限制作答次数的考试上用,否则后果自负!!!

把ChatGPT对接到智慧南工考试系统中,实现自动作答。 需要自行填入考试系统的Cookie和ChatGPT的API_KEY以及考试页面的URL参数等,具体方法见脚本注释。 做了题库保存和读取功能,优先读取本地题库,本地题库不存在时才会调用ChatGPT作答。作答完成后会自动保存做对的题目到本地题库,因此如果第一次作答分数不理想,可以多运行几次,理论上分会越来越高 做错的题也会保存到对应的题库中,下一次作答的题发现和错题库的答案一致时会随机选择一个答案。 错题题库会显示题目的完整内容,因此可以自行观察正确答案,并手动添加到正确题库中,以提高正确率。

njtechscript's People

Contributors

dingyang666 avatar pairzhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

njtechscript's Issues

自动打卡

快开学了,又要每天打卡,能更新一下自动打卡脚本嘛

JuTemp Comment

checkFormFieldIsRisk那边userId找不到了 不是随便一个都可以了 方便的话 加一下QQ 1839333864

打卡脚本报错

ticket = loginRedirectUrl.split('?ticket=')[-1].split('#/')[0]
AttributeError: 'NoneType' object has no attribute 'split'

查了一下好像是url改了还是怎么回事,这情况就我有吗

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.