Git Product home page Git Product logo

2captcha / 2captcha-ruby Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 2.0 106 KB

Ruby gem for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas.

Home Page: https://2captcha.com

License: MIT License

Ruby 99.01% Shell 0.99%
2captcha anti-captcha bypass-invisible-recaptcha bypass-on-captcha-recaptcha captcha-breaking captcha-bypass captcha-services-for-recaptcha-v2 captcha-solver captcha-solving deathbycaptcha

2captcha-ruby's People

Contributors

dzmitry-duboyski avatar kratzky avatar pbadicean avatar

Stargazers

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

Watchers

 avatar

2captcha-ruby's Issues

Api2Captcha::Client methods do not work with Ruby 3.1

e.g. #turnstile calls #solve like so:

solve("turnstile", params)

but #solve's signature is

def solve(method, file_path = nil, return_id: false, **params)

So file_path gets the params, and params is an empty Hash. Looks like this was caused by #8.

The id of the captcha should be returned

You should be able to pass the return_id option to all captcha solving methods, otherwise there's no way to report a good or bad captcha answer.

I've been told that it's recommended to report all captchas as good or bad, so maybe instead of 1 method that does it all, the default behavior should involve 3 steps: first send the request and return the id, then get the token, and then report its effectiveness.

You could also return the id and token on a single method.

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.