Git Product home page Git Product logo

jilingstudy's Introduction

技领学习平台自动化完成课程

软件的代码修改这两个地方

  • img
  • img

使用教程

  1. 登录网站 https://yxzx.bj-jiling.com/#/login
  2. 进入课程
  3. 打开开发者工具
    • 下载getCourseData接口的响应内容[点一下请求,在响应中,全部复制],替换软件目录的course.json img
    • 记住请求头点一下请求,在负载中course_id和student_id的值,存到代码中 img
    • 复制请求头的Access-Token,添加到程序代码的tokenimg
  4. 安装依赖 pip i -r requirements.txt
  5. 运行程序 python main.py

如果观看中有视频/照片认证,建议使用以下代码(脚本不会有任何的图片验证,所以会被判定为刷课)

打开视频播放页,控制台输入

setInterval(() => {
  window.onblur = () => {};
  document.onvisibilitychange = () => {};
  // 1.5倍速,该成自己想要的速度
  document.querySelector('video').playbackRate = 1.5;

  let btn = document.querySelector('.video-tool-bottom .anticon');
  if (btn.classList.contains('anticon-caret-right')) {
    btn.click();
  }
}, 1000); // 这里的1000是定时器的间隔时间,单位为毫秒

jilingstudy's People

Contributors

danyhug avatar

Stargazers

 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.