GithubHelp home page GithubHelp logo

libxduauth's Introduction

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>

libxduauth's People

Contributors

117503445 avatar benderblog avatar blindinlights avatar f1ages avatar frankli0324 avatar pairman avatar robotxm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

libxduauth's Issues

plans for async implementation of libxduauth

I'm using libxduauth and noticed that currently it only provides synchronous APIs. Considering many applications are moving towards async programming, I'm wondering if there are any plans to implement async interfaces for libxduauth in the future.

I have written this async implementation at this. If you think it's helpful, I can also submit PR.

Wrong CAPTCHA Images

Every CAPTCHA images are non readable randomly generated black-white dots like this:
Screenshot (356)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.