介绍
东北大学网站登陆每次都需要输入用户名密码,体验相当之差,没办法,写了点脚本,方便登陆.
脚本类型
写了一下语言的脚本:
- python
- node.js
使用
Node.js
1 安装node.js, 最好安装最新版本
2 拷贝文件
> git clone https://github.com/NEU-Partner/NEU_Scripts.git3 拷贝文件内的neu.js到home目录下
> cp ./NEU-Scripts/neu.js ~/neu.js
4 改变neu.js的chmod
> sudo chmod 0777 ~/neu.js
5 配置用户名和密码
修改neu.js内的内容,在 `user`处添加用户名和密码
6 启动脚本
Python
Python 3.2+ required.
Usage:
> python3 main.py
-c [command] "logon", "logout" and "status"
-u [username] your username
-p [password] your password
OR
- Run scripts (Username & Password Required)
Android
安装apk即可