GithubHelp home page GithubHelp logo

pedroapfilho / 2captcha-node Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 7.0 1.05 MB

Just a lightweight captcha solver using 2Captcha

Home Page: https://www.npmjs.com/package/2captcha-node

License: MIT License

TypeScript 100.00%

2captcha-node's People

Contributors

marutichintan avatar pedroapfilho avatar

Stargazers

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

2captcha-node's Issues

Can you add set api key?

Hi,

I want to use it like following.

const recapcha = require("2captcha-node");

recapcha.setApiKey("my-api-key");

Can you make that function?

best regards,

reCaptcha support

Do you plan to add support to reCaptcha ? I would be glad to help if needed.

Thanks for the libary.

Add retry limit

Currently solve will attempt to request for a solution for as long as the response is {"status":0,"request":"CAPCHA_NOT_READY"}. I have observed cases where this has persisted for a very long time. It would be handy to have a way to configure a hard limit or to have cancel method.

TypeError: Cannot read property 'name' of undefined

Hi, as of today I'm having a little trouble using the library, every time I call the solve method I get the following error:

Error: TypeError: Cannot read property 'name' of undefined\n at /Users/gabriel/repos/invoice-parser/node_modules/2captcha-node/dist/index.js:78:27\n at step (/Users/gabriel/repos/invoice-parser/node_modules/2captcha-node/dist/index.js:33:23)\n at Object.next (/Users/gabriel/repos/invoice-parser/node_modules/2captcha-node/dist/index.js:14:53)\n at /Users/gabriel/repos/invoice-parser/node_modules/2captcha-node/dist/index.js:8:71\n at new Promise (<anonymous>)\n at __awaiter (/Users/gabriel/repos/invoice-parser/node_modules/2captcha-node/dist/index.js:4:12)\n at postCaptcha (/Users/gabriel/repos/invoice-parser/node_modules/2captcha-node/dist/index.js:47:49)\n at /Users/gabriel/repos/invoice-parser/node_modules/2captcha-node/dist/index.js:127:50\n at step (/Users/gabriel/repos/invoice-parser/node_modules/2captcha-node/dist/index.js:33:23)\n at Object.next (/Users/gabriel/repos/invoice-parser/node_modules/2captcha-node/dist/index.js:14:53)

Any ideia of what could be or how to fix it ? Thanks for the awesome work!

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.