An library which used to connect to JUST VPN
Project description
一个方便使用江苏科技大学VPN访问网站的Python库
对Python的request库中Session类进行了简单封装
使用实例(就像普通的requests Session一样!):
from justvpn import JustVpnSession
session = JustVpnSession('[你的帐号]', '[你的密码]')
session.login() # 登录成功返回True
session.get('https://www.cnki.net') #获取知网首页
安装方法:
Windows:
安装好python并加入到环境变量后,直接在PowerShell运行
pip install justvpn
Ubuntu:
sudo apt update && sudo apt upgrade
sudo apt install python python-pip
sudo pip install justvpn
Arch Linux:
sudo pacman -Syu python python-pip
sudo pip install justvpn
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
justvpn-0.3.1.tar.gz
(3.1 kB
view hashes)