Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for other captcha solvers #24

Open
RomLecat opened this issue Dec 13, 2020 · 6 comments
Open

Support for other captcha solvers #24

RomLecat opened this issue Dec 13, 2020 · 6 comments
Labels
captcha solver service enhancement New feature or request help wanted Extra attention is needed

Comments

@RomLecat
Copy link

Hello,

There's quite a lot of services that provides captcha solvers for a small fee, and are fairly reliable.
Current captcha solvers are either manual, or relying on random image selection, which is very unreliable. Users that want the most automated and autonomous systems might be interested in using other captcha solvers.

One example is anti-captcha. Do you think it would be possible to integrate it in FlareSolverr ? That would be a nice addition, IMHO.

Thanks for your work :)

@ngosang ngosang added help wanted Extra attention is needed enhancement New feature or request labels Dec 13, 2020
@ngosang
Copy link
Member

ngosang commented Dec 13, 2020

Of course, but I don't have access to those services.
PRs are welcome. It should be as easy as adding a file to this folder => https://github.com/FlareSolverr/FlareSolverr/tree/master/src/captcha

@xfouloux
Copy link
Collaborator

xfouloux commented Dec 14, 2020

i'm going to try from https://github.com/AdminAnticaptcha/anticaptcha-npm
from their support doc :

forked the repo, will try to make a PR, but never worked on npm ^^
because i've an anti captca account with money on it, already using it for bazarr, working great =)

@xfouloux
Copy link
Collaborator

https://2captcha.com/2captcha-api is another that could be integrated afterwards

@javatarz
Copy link

javatarz commented Jan 4, 2021

I can take a shot of creating a PR for 2captcha. I couldn't see a contribution guide, information on how to test or information on the current API pieces I need to tie together with 2captcha's API (for which I could find documentation).

Can I have some newbie support pointing me towards a starter guide for this repo (or which pieces I should read up on to understand how to test my change)?

@ngosang
Copy link
Member

ngosang commented Jan 7, 2021

@javatarz Sorry, this project is new and we don't have enough documentation.
It should be easy to implement a new captcha provider.

  1. Fork this project and run it from source => https://github.com/FlareSolverr/FlareSolverr#from-source-code
  2. Make a request to make sure it's working fine. I use Postman to make HTTP requests, but you can use cURL or other client => https://github.com/FlareSolverr/FlareSolverr#usage
  3. Read the documentation about Captcha solvers => https://github.com/FlareSolverr/FlareSolverr#captcha-solvers
  4. If you want to add a new one, you have to create a new file in the captcha folder and use the environment variable to configure the solver. You have to set the exact file name in the environment var.
  5. In this PR another user is triying to implement another captcha provider. It's not working but it can give you some ideas => WIP : Support for anti-Captcha.com #37

If you archieve something that works, open a PR and I will review your code. Any help is welcome.

@simon816
Copy link

puppeteer-extra-plugin-recaptcha is part of the puppeteer extra suite, it can solve reCAPTCHA and hCaptcha challenges
https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin-recaptcha
It also handles searching and submitting the captcha, which is handy.

Currently it has one provider backend - 2captcha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
captcha solver service enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants