Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

techiall/chaoxin-auto-flush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

超星(学习通)自动刷课脚本

Install

使用 python 进行编写,因此需要 python 相关环境。

git clone https://github.com/techial1042/chaoxin-auto-flush.git
cd chaoxin-auto-flush
pip install requests

Config

  1. 使用 vscode 打开 main.py 文件。

  2. 打开超星网页,查看 URL,找到 courseIdclazzidchapterId,填在 main.py 中。

image-20201203195053115

if __name__ == '__main__':
    chao_xin = ChaoXing(username='', # 账号名
                        password='', # 密码
                        clazz_id='', # clazzid
                        course_id='', # courseId
                        chapter_id='') # chapterId
    chao_xin.play()
    chao_xin.dump_session()

Run

python main.py

TODO

-[ ] 允许自定义 sleep 时长 -[ ] 异常处理

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages