HustPass support for Python-Requests
Project description
HustAuth
This project provides HustPass support for Requests
Variation of HustLogin
Installation
-
Step1: install the lib
pip install requests-hustauth
-
Step2: install Tesseract-OCR back-end
sudo apt install tesseract-ocr
P.S. For Windows users download binary here (5.0.0+)
Usage
example.py
import requests
from requests_hustauth import HustAuth
session = requests.Session()
hust_auth = HustAuth('USERID','PASSWORD')
resp = session.get('http://m.hust.edu.cn/wechat/apps_center.jsp',auth=hust_auth)
print(resp.text)
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
Built Distribution
Close
Hashes for requests_hustauth-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f4663d1d0e9571f1115407ddc1ceb38d3f1ab605916a31560b4727716fa28b0 |
|
MD5 | b277ec39a15a4bc7e06297d699b499e9 |
|
BLAKE2b-256 | fa4c217cc9b3e6a4e227a217535f04aad10d0cbd66387ac30aa715e4d78f3685 |