Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zyszys/zhengfang_system_spider
:bug:一只登录正方教务管理系统,爬取数据的小爬虫
https://github.com/zyszys/zhengfang_system_spider
crawler python spider zhengfang
Last synced: about 7 hours ago
JSON representation
:bug:一只登录正方教务管理系统,爬取数据的小爬虫
- Host: GitHub
- URL: https://github.com/zyszys/zhengfang_system_spider
- Owner: ZYSzys
- License: mit
- Created: 2017-09-01T14:05:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T02:10:16.000Z (6 months ago)
- Last Synced: 2024-06-14T20:55:56.271Z (5 months ago)
- Topics: crawler, python, spider, zhengfang
- Language: Python
- Homepage:
- Size: 305 KB
- Stars: 20
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZhengFang_System_Spider
对正方教务管理系统个人课表,学生成绩,绩点等简单爬取## 依赖环境
python 3.6
### python库
http请求:requests,urllib
数据提取:re,lxml,bs4
存储相关:os,sys
验证码处理:PIL## 下载安装
在终端输入如下命令:
```bash
git clone https://github.com/ZYSzys/ZhengFang_System_Spider.git
```## 使用方法
### 安装依赖包
```bash
pip install -r requirements.txt
```### 运行
在当前目录下输入:
```
cd ZhengFang_System_Spider
python spider.py
```
运行爬虫,按提示输入学校教务网,学号,密码,输入验证码![运行时](/screenshot/spider.png)
稍等几秒钟,当前ZhengFang_System_Spider文件夹下就会生成zhengfang.txt
个人课表,成绩绩点均已保存到该文本文件中![结果](/screenshot/zf.png)