mirror of
https://github.com/cqwu-ehall/cqwu-ehall.git
synced 2024-11-22 02:55:33 +00:00
🐛 Fix xg get score
This commit is contained in:
parent
146af56314
commit
c6f9a5cd92
@ -1,3 +1,4 @@
|
|||||||
|
import json
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
import cqwu
|
import cqwu
|
||||||
@ -17,7 +18,7 @@ class GetScore:
|
|||||||
List[types.Score]: 成绩列表
|
List[types.Score]: 成绩列表
|
||||||
"""
|
"""
|
||||||
year = year or self.xue_nian
|
year = year or self.xue_nian
|
||||||
semester = semester or self.xue_qi
|
semester = semester or (self.xue_qi + 1)
|
||||||
await self.oauth_xg()
|
await self.oauth_xg()
|
||||||
query_url = "http://xg.cqwu.edu.cn/xsfw/sys/zhcptybbapp/modules/cjcx/cjcxbgdz.do"
|
query_url = "http://xg.cqwu.edu.cn/xsfw/sys/zhcptybbapp/modules/cjcx/cjcxbgdz.do"
|
||||||
headers = {
|
headers = {
|
||||||
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="cqwu", # 用自己的名替换其中的YOUR_USERNAME_
|
name="cqwu", # 用自己的名替换其中的YOUR_USERNAME_
|
||||||
version="0.0.12", # 包版本号,便于维护版本
|
version="0.0.13", # 包版本号,便于维护版本
|
||||||
author="omg-xtao", # 作者,可以写自己的姓名
|
author="omg-xtao", # 作者,可以写自己的姓名
|
||||||
author_email="xtao@xtaolink.cn", # 作者联系方式,可写自己的邮箱地址
|
author_email="xtao@xtaolink.cn", # 作者联系方式,可写自己的邮箱地址
|
||||||
description="A cqwu ehall client.", # 包的简述
|
description="A cqwu ehall client.", # 包的简述
|
||||||
|
Loading…
Reference in New Issue
Block a user