Giter Club home page Giter Club logo

u-'s Introduction

程序说明

程序目的主要还是练手自动化 顺便偷懒,

答案接口:https://uexercise.unipus.cn/itest/t/clsExam/rate/detail?%s%s%s' % (exercise, sign, sid) sid是登录之后页面pagesource里的studentid:

sid获取> 主页面里面,右键检查,在html里面ctrl+f搜索sid:,后面出现的数字就是了 不过还请手动配置 chromedriver

选择自己谷歌相应版本的chromedriver然后把exe文件移动到chromedriver文件夹下,并改成相应格式的名字

支持的 course:

新四级强化辅导课程,新视野大学英语的单元测验部分

有时间的人其他课程可以试一试,万一也可用呢?(如果可用还请告诉我一声)

支持题型:

(暂不支持自动填写作文翻译😂,但是仍可用)

  • 纯填空: 复合式听写|仔细阅读|长篇阅读
  • 选词填空:词汇理解...(功能匮乏
  • 选择题:短对话,长对话,新闻报道

环境配置:

win10 x64

使用说明

配置文件

  • 第一次使用需要你配置config中你的用户名,密码~~(可以在config里直接改)~~之后是默认你第一次的配置

    如果你想改配置:

    可以在config.ini里面直接改

    也可以在程序里按照提示输入相应指令

配置参数说明:

  • is_auto_submit=1 代表自动提交|不建议,所以默认为0 (待优化,还未能使用)
  • is_close_answerwindow=1 代表关闭出现的答案窗口|自行决定
  • username 登录账号
  • password 登录密码
  • studentId sid
  • auto_fill_answer=1 代表自动答题 默认1
  • v_chromedriver 谷歌版本号
  • wtmax 间隔最大时间 /second 默认0.3s
  • wtmin 间隔最小时间 /second 默认0.3s

自动答题

进入需要完成的test,确认开始后即可自动,自动答题中不要切换窗口以防终止答题

一些常见issue:

  • 有验证码出现是无法答题的,请自行解决验证码问题

  • 自动填写并未填写完:可到关闭测验再执行一遍,因为有时候答案数据未加载出来,具体可以在答案页面看见

  • 有黑方框但是程序登录页面打不开:检查本程序是否支持你的谷歌版本,或者是账号密码错误

  • 答案页面显示不了答案:务必检查一下sid是否正确

  • 如果黑方框闪退这个原因挺多 先看一下是不是下载的压缩包,不要单独下载exe,也有可能是杀毒软件的锅,最可能的是账号密码错误或者chrome版本不匹配

(提交时若显示你有题未作答是因为U校园系统没有来得及保存,不用管直接提交就好了)

最后记得退出程序

特别感谢

对本程序的支持,以及陪我耐心的调试

本程序仅供学习交流

使用本程序一切后果,本人概不负责

u-'s People

Contributors

dummerchen avatar

Watchers

 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.