Act

petr_cermak/anti-captcha-recaptcha

  • Builds
  • latest 0.0.7 / 2017-10-25
  • Created 2017-10-05
  • Last modified 2017-10-26
  • grade 20

Description

Act for solving google recaptcha using the anti-captcha.com service. You need to have an anti-captcha subscription to be able to use it.


API

To run the act, send a HTTP POST request to:

https://api.apify.com/v2/acts/petr_cermak~anti-captcha-recaptcha/runs?token=<YOUR_API_TOKEN>

The POST payload will be passed as input for the act. For more information, read the docs.


Example input

Content type: application/json; charset=utf-8

{ 
    "key": "ANTI_CAPTCHA_KEY",
    "webUrl": "PROTECTED_WEBSITE_URL",
    "siteKey": "CAPTCHA-DATA-SITEKEY"
}

Readme

act-anti-captcha-recaptcha

Act for solving google recaptcha using the anti-captcha.com service. You need to have an anti-captcha subscription to be able to use it.

The act accepts input in the following format:

{ 
    "key": ANTI_CAPTCHA_KEY,
    "webUrl": PROTECTED_WEBSITE_URL,
    "siteKey": CAPTCHA-DATA-SITEKEY
}

You can find CAPTCHA-DATA-SITEKEY on the protected website. It is usually in a "data-sitekey" attribute in an element with a "g-recaptcha" class or id.

Output is the resulting g-recaptcha-response which you have to send the same way the protected website would. Usually it can be send in a form input with name="g-recaptcha-response".