Code Monkey home page Code Monkey logo

yatori's Introduction

yatori

Yatori课程助手

📢作者有话说

1、因作者学业繁忙,之后的更新需要等2025年才能开始更新,不过目前所有功能都还是能用的,这点不用担心。

2、有些学校可能用仓辉的时候会卡住要么一直刷屏报错,这种情况可能是因为你所用的平台是英华套壳的,所以你只需要把刷课类型“CANGHUI”改成“YINGHUA”即可。

🤔问题咨询

QQ交流群:932447008

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

个人博客:长白崎の个人博客 (changbaiqi.top)

技术打赏:赞助墙 | 长白崎の个人博客 (changbaiqi.top)

🎯功能支持及特性:

  • 独立程序,不依赖浏览器
  • AI自动识别跳过验证码
  • 多账号同刷
  • 支持状态邮箱通知
  • 支持自动考试(目前支持英华和仓辉。别问,问就是只有人提供了仓辉和英华的账号我才能开发,没人提供其他平台账号测试我也没办法)
  • 答题支撑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/,每个学校的链接都不同,这个可以自己去找去问。

配置文件说明(==注意==!!!其实大部分参数可以根据需求进行省略不写,以下只是对于各参数的例子罢了!):

{
       "setting":{
           "emailInform":{//邮箱通知设置
               "sw": 0,//0代表关,1代表开
               "smtpHost": "", //SMTP服务器地址
               "smtpPort": "", //SMTP服务器端口
               "email":"", //发送方邮箱
               "password":"" //邮箱授权码或App密码
           },
           "aiSetting": {
               "aiType": "CHATGLM",//目前只支持智普清言的AI,智普填CHATGLM就行
               "API_KEY": "",//AI的API_KEY自己去智普清言官网获取(有免费余额的)
           }
       },
       "users": [
           {
               "accountType": "CANGHUI",//指定平台,"YINGHUA"代表英华学堂(创能平台也使用这个),CANGHUI代表仓辉平台,ENAEA代表学习公社
               "url": "url",//学习公社不用配,其他平台必须配平台主页的根url,不同学校url不同,比如https://mooc.xxx.cn/,注意千万别带uri指别写成https://mooc.xxx.cn/xxx/xxx这样。
               "account": "账号",//账号
               "password": "密码",//密码
               "coursesCustom": {
                   "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": "李四的密码",
         "coursesCustom": {
             "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))。

鸣谢

感谢JetBrains提供的开源开发许可证,JetBrains 通过为核心项目贡献者免费提供一套一流的开发者工具来支持非商业开源项目。

jetbrains-variant-3

Stargazers over time

yatori's People

Contributors

changbaiqi avatar izichenya avatar silent-wind1 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

yatori's Issues

他会自动显示课程已完成 学习公社的

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

仓辉刷课无法使用

仓辉刷课无法使用,显示如下面截图一样的画面不动,如果可以的话可以说下如何抓取log,下面也有我的Config设置的截图。

Screenshots
屏幕截图 2024-05-16 164812
图片

  • OS: [Win11]

求助,控制台只有这个,然后没有其他输出了,是什么原因?

C:\Users\Administrator\Desktop\yatori.v2.0.1-Beta.1-windows-x64-jar-release>cd /d C:\Users\Administrator\Desktop\yatori.v2.0.1-Beta.1-windows-x64-jar-release\

C:\Users\Administrator\Desktop\yatori.v2.0.1-Beta.1-windows-x64-jar-release>.\jdk-17\bin\java -jar app.jar
___
,---, ,--.'|_ ,--,
/_ ./| | | :,' ,---. __ ,-.,--.'|
,---, | ' : : : ' : ' ,'\ ,' ,'/ /|| |,
// . : | ,--.--. .;,' / / / |' | |' |--'_ . \ \ ,' ' / \ | | | . ; ,. :| | ,',' ,'| \ ; ,' .--. .-. |:,'| : ' | |: :' : / ' | |
\ \ ' __/: . . ' : |
' | .; :| | ' | | :
' \ | ," .--.; | | | '.'| : |; : | ' : |
_
\ ; ; / / ,. | ; : ;\ \ / | , ; | | '.'|
: \ ; : .' \ | , / ----' ---' ; : ; \ ' ;| , .-./ ----' | , /
-- -----' ---`-'
Yatori v2.0.0-Beta.3
仅用于学习交流,请勿用于违法和商业用途!!!
GitHub开源地址:https://github.com/Changbaiqi/yatori
个人博客:https://blogs.changbaiqi.top
求助,控制台只有这个,然后没有其他输出了,是什么原因?

单课程功能

大大 能增加单课程的选项不 有些课 课程开了但老师不让刷

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.