Giter Site home page Giter Site logo

yunshenowo / yatori-kotlin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from changbaiqi/yatori

0.0 0.0 0.0 72.8 MB

Yatori课程助手,支持英华慕课、学习公社、创能平台、仓辉等平台等(后续支持学习通)

License: MIT License

Java 99.98% HTML 0.02%

yatori-kotlin's Introduction

Yatori课程助手


Yatori

问题咨询

QQ交流群:932447008

B站:BiliBili for 长白崎(不定时更新计算机相关技术教程)

个人博客:长白崎的个人博客 (changbaiqi.github.io)

技术打赏:技术打赏 | 长白崎的个人博客 (changbaiqi.github.io)

功能支持及特性:

  • 独立程序,不依赖浏览器
  • AI自动识别跳过验证码
  • 多账号同刷
  • 支持自动考试(目前只支持仓辉。别问,问就是只有人提供了仓辉的账号我才能开发,没人提供其他平台账号测试我也没办法)
  • 灵活配置文件
  • 自动继续上次记录时长刷课
  • 可部署服务器
  • 部分平台支持暴力模式(无视前置课程学习限制,一门课所有视屏同刷!!!)

支持平台:

  • 英华学堂(不支持暴力模式)
  • 创能平台(不支持暴力模式)
  • 仓辉实训(支持暴力模式,支持自动考试)
  • 学习公社(目前只支持普通模式)
  • 智慧树(暂不支持,除非有人提供账号支持开发测试)
  • 盗梦空间抢活动(估计要等比较久的时间再整合了)
  • 学习通(暂不支持,除非有人提供账号支持开发测试)

食用方式:

代码食用:

施工中...

直接食用:

下载releases然后解压修改config配置文件之后点击start.bat启动即可。

注意:填url的时候是填写学校英华的根链接,不能带uri,

比如https://mooc.xxx.edu.com/,而不是https://mooc.xxx.edu.cn/xx/xx

以及不能用https://mooc.yinghuaonline.com/,要用自己学校的链接,比如https://mooc.xxx.cn/,每个学校的链接都不同,这个可以自己去找去问。

配置文件说明:

{
    "users": [
        {
            "accountType": "CANGHUI",//指定平台,"YINGHUA"代表英华学堂(创能平台也使用这个),CANGHUI代表仓辉平台,ENAEA代表学习公社
            "url": "url",//学习公社平台不用填这个直接把这个url配置删掉即可。其他平台必填,填平台主页的根url,不同学校url不同,比如https://mooc.xxx.cn/,注意千万别带uri指别写成https://mooc.xxx.cn/xxx/xxx这样。
            "account": "账号",//账号
            "password": "密码",//密码
            "coursesCostom": {
                "videoModel": 1,//模式设定,0代表不刷视屏,1为普通模式,2为暴力模式,默认为1,暴力模式目前只支持仓辉
                "autoExam": 1,//是否自动考试,0代表不考,1代表考,默认为0,注意,目前自动考试只支持仓辉!!!
                "excludeCourses": ["课程1", "课程2"],//这个参数代表需要排除不刷的课程,复制课程的名称填入即可(一字不差)
                "includeCourses": ["课程3", "课程4"],//这个指的是需要刷的课程,如果不填默认刷全部课程除非设置了排除课程
                "coursesSettings": [
                    {
                        "name": "大学生劳动教育", //对应需要单独需要客制化的课程名称
                        "includeExams": ["试卷名称1","试卷名称2"],//对应课程需要考试的试卷名称
                        "excludeExams": ["试卷名称3","试卷名称4"],//对应课程不需要考试的试卷名称
                    }
                ]
            }
        }
    ]
}

刷课支持多账号,根据需求自行进行改动。

示例1:

{
    "users": [
        {
            "accountType": "YINGHUA",
            "url": "张三的url",
            "account": "张三的账号",
            "password": "张三的密码"
        },
        {
            "accountType": "CANGHUI",
            "url": "李四的url",
            "account": "李四的账号",
            "password": "李四的密码",
            "coursesCostom": {
                "videoModel": 2,
                "autoExam": 1
            }
        }
    ]
}

项目说明:

以后项目将会分三个版本模块

1、yatori-core

2、yatori-console

3、yatori-web

yatori-core

这个是给开发者用的,也是所有yatori衍生产品的核心,里面提供了刷课的API函数调用接口。

目前最新发布的是1.0.0-beta。2

不过目前项目暂未完善,所以也不需要急着引用开发。

yatori-core也已经上线Maven**仓库,直接Maven引入即可

        <dependency>
            <groupId>io.github.changbaiqi</groupId>
            <artifactId>yatori-core</artifactId>
            <version>1.0.0-beta.2</version>
        </dependency>

yatori-console

这个是基于yatori-core的衍生产品,也是可以直接使用的控制台版本,目前最为完善的可直接使用版本。在release里面下载即可。

yatori-web

这个是基于yatori-web的衍生产品,也是可以直接使用的可视化Web控制版本,目前暂未开发好。暂时也还用不了。

免责声明:

代码已开源,程序只供学习使用,严禁贩卖,若对贵公司造成损失立马删库(保命(doge))。

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.