Metadata-Version: 2.1
Name: xzitaao
Version: 0.0.2
Summary: Crawler for xzit aao
Home-page: https://github.com/Qualthera/xzitaao.git
Author: Qualthera
Author-email: qualthera@163.com
License: Apache License 2.0
Platform: all
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: beautifulsoup4 (==4.9.3)
Requires-Dist: bs4 (==0.0.1)
Requires-Dist: certifi (==2020.12.5)
Requires-Dist: chardet (==3.0.4)
Requires-Dist: cycler (==0.10.0)
Requires-Dist: idna (==2.10)
Requires-Dist: kiwisolver (==1.3.1)
Requires-Dist: lxml (==4.6.2)
Requires-Dist: numpy (==1.19.4)
Requires-Dist: Pillow (==8.0.1)
Requires-Dist: pyparsing (==2.4.7)
Requires-Dist: python-dateutil (==2.8.1)
Requires-Dist: requests (==2.25.0)
Requires-Dist: six (==1.15.0)
Requires-Dist: soupsieve (==2.1)
Requires-Dist: urllib3 (==1.26.2)

## XZITAAO

> 本项目是 http://jwc.xzit.edu.cn 的爬虫
>
> 非常感谢[xrandx](https://github.com/xrandx)将其开源
>
> 我现在把它整理出来供大家使用

### 使用方法

`pip install xzitaao`

**Demo**

```python
import xzitaao

Sid = "" #学号
Pwd = "" #密码
Cid = "" #选课的课程号

def main():
    student = xzitaao.Student(Sid,Pwd,Cid)
    try:
        student.login() #登录
        student.get_info()  #保存个人信息
        student.save_score()   #保存成绩单
        student.evaluate()  #教学评估
        student.get_elective_course() #选课
    except Exception as e:
        xzitaao.auto_ip()
        print(e)

if __name__ == '__main__':
    main()
```

### 已知 Bug

验证码图片无法自己关掉，需要手动关

### LICENSE

[Apache License 2.0](LICENSE)

