login utilities for XDU
Project description
ref to xidian-scripts
libxduauth
本仓库用于辅助西安电子科技大学各种服务网站不用于自动化测试的爬虫的编写
涉及到验证码时需要手动进行输入
使用方式
from libxduauth import *
ses = EhallSession('用户名', '密码')
# 进行后续请求
支持的平台
class | domain | description |
---|---|---|
EhallSession | http://ehall.xidian.edu.cn | 一站式服务中心,继承自统一认证 |
EnergySession | http://10.168.55.50:8088 | 水表/电表查询 |
IDSSession | http://ids.xidian.edu.cn/authserver | 统一认证 |
RSBBSSession | http://rsbbs.xidian.edu.cn | 睿思论坛(外网) |
WXSession | ||
XKSession | https://xk.xidian.edu.cn | 选课系统 |
ZFWSession | https://zfw.xidian.edu.cn | 校园网流量购买/查询 |
SportsSession | http://tybjxgl.xidian.edu.cn/wbh/ | 体适能查询 |
声明
本项目无意增加服务端压力。
如果网站本身正确实现了验证码机制,libxduauth
不会试图对其进行绕过。
默认情况下libxduauth
也没有进行请求的伪装,非常容易识别(UA: python-requests/<version>
)
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
libxduauth-1.9.0.tar.gz
(12.3 kB
view details)
Built Distribution
File details
Details for the file libxduauth-1.9.0.tar.gz
.
File metadata
- Download URL: libxduauth-1.9.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0cd8a4c6aa5be78af7700c3a0a5ba47a355d6960b2ef6ec51aa72a545eda1c2 |
|
MD5 | 5dedf5aa99d93697acda61a87609597b |
|
BLAKE2b-256 | b37e3afffe11168c0b3bd2249deb02e3ae8346b217f63eef79bd612ae6f8567f |
File details
Details for the file libxduauth-1.9.0-py3-none-any.whl
.
File metadata
- Download URL: libxduauth-1.9.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 918b206a3c960bedd4c5d4684b11b55df999090276ea768b28711f0aefc9e397 |
|
MD5 | 84109bb5fd1c193842ba19adc313b002 |
|
BLAKE2b-256 | 73919395110a1db5a45ba3a174234e106a7866710281b1ac32c5db47ad7e9d7e |