# campus_network
**Repository Path**: RyanLu99/campus_network
## Basic Information
- **Project Name**: campus_network
- **Description**: (常州工学院)校园网自动认证脚本
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-05-09
- **Last Updated**: 2021-09-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 常州工学院
# 校园网自动认证脚本
> 1. python脚本【如下】
> 2. [iPad/iPhone脚本](ios-campus-network-shortcuts.md)
## 缘由
### 这学期去图书馆次数比较多,每次打开电脑连校园网,都要耗费3分钟左右。想着写个自动化脚本避免这繁琐的过程。
### 此外本学期javaweb课程,看帖子有人利用js实现网站签到,一直跃跃欲试。趁着周末空闲时间多,写了这个小脚本,也加强对HTTP协议的理解。
## 本项目基于Python3.8开发
> ***对于Python未曾系统学过,有错误还请各位大佬指正***
## 使用方法
**step1**: python安装request包
```shell
pip install requests
```
**step2**: 克隆项目到本地
```shell
git clone https://github.com/RyanLu99/campus_network.git
```
**step3**: 运行脚本
```shell
python campus_net_con.py
```
## Tips
> 1. 电脑开机会自动连接校园网,运行脚本后自动认证。(linux用户可以设置/etc/rc.local开机自动运行)
> 2. 运行此脚本的前提是已经连上wifi,电脑已经分配到私网ip
> 3. 脚本还有许多地方有待优化,同学们有建议可以在issues里面指出来 :)
## 有趣 > 有用
### 希望这个脚本能够节约大家一点的时间,把时间花在刷题上(逃