From a61b5c1cbb7ed8060cea8358a1737422c73677ab Mon Sep 17 00:00:00 2001 From: Anyexyz Date: Mon, 18 Dec 2023 13:08:34 +0000 Subject: [PATCH] Update account.csv.example with additional notes --- Beijng_Daxuexi.py | 3 ++- README.md | 3 +++ account.csv.example | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Beijng_Daxuexi.py b/Beijng_Daxuexi.py index 6cbe92b..2990648 100644 --- a/Beijng_Daxuexi.py +++ b/Beijng_Daxuexi.py @@ -75,7 +75,7 @@ def study(username,password): return 0 if __name__ == '__main__': - # 读取account.csv配置文件,格式为:用户名,密码 + # 读取account.csv配置文件,格式为:用户名,密码,备注 success = 0 count = 0 with open('account.csv', 'r', encoding='utf-8') as f: @@ -85,5 +85,6 @@ if __name__ == '__main__': print(f'用户{count}: {row[0]}') if study(row[0], row[1]): success += 1 + print("\n") print(f'共{count}个用户,成功{success}个,失败{count-success}个') \ No newline at end of file diff --git a/README.md b/README.md index 4ec5ce7..40b571f 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,11 @@ > 注意:本项目仅供学习交流使用,请勿用于商业用途,否则后果自负。 ## 简介 + 本项目是北京青年大学习的速刷程序,可以迅速完成学习任务。 ## 特性 + - 自动识别学习任务是否完成,完成后自动退出。 - 自动识别验证码,无需人工干预。 - 支持多用户 @@ -19,6 +21,7 @@ pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple ``` 3. 配置账户信息,打开`account.csv.example`文件,按照格式填写账户信息,保存为`account.csv`。 +账户获取方法:填写[此网站](https://m.bjyouth.net/site/login)的账号密码即可。 4. 运行程序,打开命令行,输入以下命令: ``` python Beijng_Daxuexi.py diff --git a/account.csv.example b/account.csv.example index 241896a..86bcdf2 100644 --- a/account.csv.example +++ b/account.csv.example @@ -1,3 +1,3 @@ -username1,password1 -username2,password2 -username3,password3 \ No newline at end of file +username1,password1,notes1 +username2,password2,notes2 +username3,password3,notes3 \ No newline at end of file