Coder Social home page Coder Social logo

find_cet_id's Introduction

Find_CET_id

用于根据身份证号找回CET考试的准考证号。

原理

1.使用request访问http://cet-bm.neea.edu.cn/Home/QuickPrintTestTicket

2.构造session,识别验证码,提交表单

3.下载准考证,解压后读取PDF,正则表达式匹配准考证号

4.通过flask框架提供api,接受用户提交并返回

cet.py为cookie登录方式,代码源自https://github.com/LDouble/CET

BackGround.py为session登录方式,暂时未完成,提交表单后无法登录

img.py为云打码api的http调用,用于自动识别验证码

find_cet_id's People

Contributors

richardpony avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.