北邮教务系统成绩爬虫,支持验证码自动识别,保存为 JSON 格式。
python main.py [options...] <username> <password>
也可以在源码中指定用户名和密码。
git clone --recursive https://github.com/imtsuki/BuptScoreSpider.git
Python 依赖项:
- requests
- requests-html
- pytesseract
- Pillow
同时还需要安装 Tesseract OCR。这里有安装教程。
可选手动输入验证码