Skip to main content

Crawler for xzit aao

Project description

XZITAAO

本项目是 http://jwc.xzit.edu.cn 的爬虫

非常感谢xrandx将其开源

我现在把它整理出来供大家使用

使用方法

pip install xzitaao

Demo

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xzitaao-0.0.2.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

xzitaao-0.0.2-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page