Skip to content

Python爬虫登陆教务系统查询成绩,附带均分计算和 GPA 计算,可自定义过滤科目

Notifications You must be signed in to change notification settings

TobiasLee/XDU-GradeInquiry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XDU 成绩查询

说明

XDU 均分和 GPA 查询爬虫,不用评教也能查成绩算 GPA 啦~

环境要求

  • Python 3

  • requests

  • BeautifulSoup

你可以使用 pip3 install 来安装需要的库

使用教程

在命令行输入:

python3 main.py 你的学号 你的密码

就能查目前所有科目的成绩以及计算均分和 GPA(采用最新算法

可选参数:

optional arguments:

-h, --help show this help message and exit

-i {false,true} display all course grade info

-avg {false,true} display average grade

-g {false,true} display average gpa

-f [FILTER_COURSES [FILTER_COURSES ...]]

​ filter some courses you don't want to be calculated

其中:-f 参数可以指定你不想计算课程的关键字,你可以使用-f 英语来过滤过所有英语课程,-f 英语 体育 来过滤掉英语和体育所有课程。

更多帮助请使用 python3 main.py -h 查看

contributors

TobiasLee,Ezio,Janck

About

Python爬虫登陆教务系统查询成绩,附带均分计算和 GPA 计算,可自定义过滤科目

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages