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.10.0.tar.gz
(12.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file libxduauth-1.10.0.tar.gz.
File metadata
- Download URL: libxduauth-1.10.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f79925a39bbac74babdb54314f245b7a4c7f0ac5bbc22533567448dae4052eb
|
|
| MD5 |
a4cdc0eb3179b95f0477548f7b02ab14
|
|
| BLAKE2b-256 |
2f7e072e078ac2123992c4a8dfb76674e07dd6d6bc79fafe60a2410368a06a6d
|
File details
Details for the file libxduauth-1.10.0-py3-none-any.whl.
File metadata
- Download URL: libxduauth-1.10.0-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9de52fbe7b64ca682685a7daa8760d8c933c62c0cb3b12eb060dd6e60e60a79
|
|
| MD5 |
4c4229f8ef2c4ad3c6177c4f03dbc848
|
|
| BLAKE2b-256 |
534fdfac9214d02a17f32435d2ce3e0b3b1a679ad3f2031cd3d52105e4b0094f
|