Giter Club home page Giter Club logo

recaptcha-manager's Introduction

recaptcha-manager

Reduce waiting time for solving recaptchas to less than a second

Average solving time for recaptchas by solving services like 2Captcha, Anticaptcha, etc. is around 30-75s at best, which is often a bottleneck for most scripts relying on them. recaptcha-manager aims to alleviate this problem by truly "managing" your recaptcha solving needs without really changing how your script functions. It uses those same services, but with a non-blocking architecture and some derivative maths to bring the amount of time you have to wait for a recaptcha answer to less than a second. A brief run down of how it works is given below:

  1. Efficient, non-blocking architecture: Conventional approaches often require your script to wait for the captcha request to be registered and completely solved by the solving service before proceeding. This is not the case with recaptcha-manager. After your script signals that it wants more recaptchas to be solved (via a quick function call), the control is returned to it immediately. This is possible because the actual communication with the captcha solving service, including registering the captcha task and requesting it's answer, happens in a background process.

  2. The Maths: Recaptcha-manager can collect relevant statistics including how frequently your script requires recaptchas, the service's solving speed, the number being currently solved, and many more. It then mathematically analyses these factors to accurately predict how many captchas your script will require in the near future and automatically pre-sends those many requests to the captcha solving service whenever you request more recaptchas to be solved. What this results in is that whenever your program actually wants a recaptcha, there will be one already solved and available. It's worth adding that this mathematical analysis is very accurate and only uses recent statistics, which makes sure that the solved captchas won't expire due to more requests than required being sent to the solving service.

Here's a quick rundown of its other core features

  • Quick Integration - Supports API of popular captcha solving services like Anticaptcha, 2Captcha and CapMonster
  • Flexibility - Works equally well on applications requiring 2-3 captchas a minute as well as those requiring 40+ captchas a minute
  • Adaptability - Can readjust even if your applications' rate of requesting captchas drastically changes midway
  • Unification - If you use multiple captcha solving services, then you can use all of them simultaneously using recaptcha-manager, or switch between them incase of an error.
  • Efficiency - Apart from sending HTTP requests to communicate with the solving service's API in a separate background process, the requests are also sent asynchronously so that the service response times do not slow down scripts requiring a high volume of recaptchas

However, recaptcha-manager is not suitable for all applications. Some things to keep in mind:

  • Only supports Python 3.5 and above
  • Only recaptcha-v2 and recaptcha-v3 are supported
  • Support available only for Windows systems

Installation

You can install the package from pypi like below:

pip install recaptcha_manager

Usage / Documentation

Recaptcha-manager is relatively simple to integrate in any application. Check out the documentation to familiarize yourself with all the tools it offers, usage instructions and additional links to other resources to make your program solve recaptchas efficiently and effortlessly. Additionally, you can access full-code examples here.

Development

Want to contribute? Great!

Here are a few ways you can help:

  • Report bugs that you come across
  • Submit feature requests that you think would be helpful
  • Star the project!

recaptcha-manager's People

Contributors

charxhit 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.