Recognize hCaptcha

Table of contents


Description

Allows you to be checked on sites with installed protection against bots. This method is only suitable for captchas of the hCaptcha type.


How to add an action to a project?

Via context menu Add ActionTabsRecognize hCaptcha

Or use smart search.


What is it used for?

  • Passing registrations

  • Parsing sites and search engines

  • Performing bulk actions

How to work with an action?

Main settings

  1. Selecting a module for captcha recognition. Select the desired captcha recognition service from the drop-down list (you must first specify its API key in the settings ).

  2. Service captcha settings .

  3. Installing CapMonster.Cloud as the default service

  4. Registration of an account in CapMonster.Cloud. All ZennoPoster license holders receive $ 5 free of charge on the balance of the service for solving captchas.


HCaptcha interception

Added in ZennoPoster 7.5.1.0

You can not recognize hCaptcha manually when interception is enabled.

The options "Start hCaptcha interception" and "Stop hCaptcha interception" are required to apply autosubmit when you recognize hCaptcha using “In a tab” method. They will not be required if autosubmit is not used, or if solving via sitekey is used. The most correct (and recommended) way to use these cubes is to enable interception immediately before navigating to the page with hCaptcha, and disable interception immediately after solving it. However, technically nothing prevents you from enabling hCaptcha interception at the very beginning of the project so that it is active throughout entire work of project.

Start hCaptcha interception

This action is applied at the time of the navigating to the next page.

You should run this action before navigating to a page with hCaptcha. While the interception is active, you can solve the hCaptcha in the tab using autosubmit. Please note that we are talking specifically about changing the URL specified in the address bar: that is, if after some action in the browser (for example, clicking on a button) the page content has changed and hCaptcha is displayed, but the text in the address bar remains the same - then we are dealing with the same page. Therefore, in this case, the interception will need to start just before navigating to this page (and not immediately before clicking on the button in the browser).

Stop hCaptcha interception

Disables hCaptcha interception.
This action is applied at the time of the navigating to the next page.


Recognizing hCaptcha in tab

Solving takes place directly in the browser window.

Recognition method

Select the appropriate function (Recognition hCaptcha) and the recognition method (In tab)

Use proxy from project

The current proxy of the project will be sent to the recognition service along with the captcha.

Use project cookies

The current project cookies will be sent to the recognition service along with the captcha.

Tab:

a) Active - the tab that you have in front of your eyes at the moment.
b) First is the first window on the left.
c) By name - indicate the name of the tab or variable considering the case of letters.
d) By number - set the tab number. The numbering goes from left to right starting from 0.

Enable autosubmit

If this option is enabled then received token will be autosubmited.

Note: you have to enable hCaptcha interception (described above) before navigating to the page with hCaptcha for the correct work of this option.

Save task ID to variable
Variable for the task ID.


hCaptcha recognition via sitekey

The process takes place without loading the browser.

Recognition method

Select the appropriate function (Recognition hCaptcha) and the recognition method (Via SiteKey)

Use proxy from project

The current proxy of the project will be sent to the recognition service along with the captcha.

Use project cookies

The current project cookies will be sent to the recognition service along with the captcha.

SiteKey

hCaptcha site key.

  • In the source code of the page DOM

Click on the request and check the full address on the "Headers" tab

URL

Full URL of the page on which hCaptcha is recognized.

Save task ID to variable

Variable for the task ID.

Put to variable

The response from the recognition service will be saved to the variable specified here - the token of the resolved hCaptcha.

Token sending examples

After receiving the token, you must substitute it in the appropriate field. In the case of hCaptcha, there are usually two such fields.

Below we will see how to call the field in the browser.

Call the Element Tree through the context menu and find the ( textarea ) fields for entering inside the captcha

With the right mouse button for each text field, call the context menu and click To the action designer. The element search filter in each case needs to be changed a little, because the ending can be unique for each page load. We remove the ending in the “Value” field, switch the search type to regexp.

It is required to insert the received token into these fields. This can be done with the action Setting the value

After successfully solving the captcha, the response containing the token will be placed in the variable to be sent to the server. It must be substituted into the request, most often these are the arguments (two, with the same value) g-recaptcha-response and h-captcha-response

 


Bug report

Allows you to return funds in case of an unsuccessful attempt to solve the captcha.

Task ID specified by a static value or a variable.


Success report

We inform the service about the successful solving of the captcha.

Task ID specified by a static value or a variable.


Usage example

When you enter the antibot page, the system asks you to confirm that you are not a robot.

  1. To use autosubmit, before going to the target page, we start hCaptcha interception

  2. Go to the page.

  3. Add an action to solve hCaptcha to the project.

  4. Setting up the cube.

  5. We pass the site check.

  6. Disable hCaptcha interception (optional)

Today, many resources are protected by hCaptcha. It helps sites to suppress mass actions or identify bots, but thanks to the ZennoPoster functionality, it will not be difficult to pass such checks.


Useful links

  1. Traffic window

  2. Project variables

  3. Data (Tab operations)

  4. CapMonster Cloud