GithubHelp home page GithubHelp logo

captche's Introduction

CaPtchE简介

CaPtchE是本地打码服务,识别英文数字类型的验证码,可以快速用于验证码识别场景!有易语言版本和Python版本!

CaPtchE易语言版本使用方式

  • 下载该项目
  • 双击exe执行文件
  • 点击启动服务
  • 调用执行打码服务,示例代码如下:
import requests


class HttpRequest:

    def __init__(self):
        self.url = 'http://127.0.0.1:5658/{}'
        self.headers = {
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
        }
        self.data = {

        }

    def http_request_get(self):
        response = requests.get(self.url.format("Base64后的图片"), headers=self.headers)
        print(response.text)


if __name__ == '__main__':
    session = HttpRequest()
    session.http_request_get()

CaPtchE的Python版本使用方式

  • 下载该项目
  • GeckoCr直接运行bat终端就好了
  • 调用的话使用POST方式提交base64编码的图片
  • 示例代码:
import requests


class HttpRequest:

    def __init__(self):
        self.url = 'http://127.0.0.1:8001/gecko'

        self.data = {
            'img': "Base64后的图片"
        }

    def http_request_post(self):
        response = requests.get(self.url, data=self.data)
        print(response.text)


if __name__ == '__main__':
    session = HttpRequest()
    session.http_request_post()

captche's People

Contributors

bytebuff avatar

Stargazers

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

Watchers

 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.