Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Description

CapMonster2 has the ability to recognize ReCaptcha2 via images.

How it works

Recognition of separate ReCaptcha2 images via CapMonster 2 is carried out similarly to recognition of ordinary captchas. Only the additional parameters differ.

The request must include the name of the module:
CapMonsterModule=ZennoLab.ReCaptcha2

  • Task ReCaptcha2 - Task or TaskDef

Task

Verbal description of the ReCaptcha2 task.

Not recommended to use.

Examples:

Task=traffic lights
Task=Select all images with crosswalks
Task=Select all images with bicycles

TaskDef

ReCaptcha2 task code.

Recommended to use instead of Task.

You can parse the task code from browser traffic.

You can look at the contents of the file to understand what specific values to search: Directory CapMonster \Progs\Modules\ZennoLab.ReCaptcha2new.cm\synonymscodes.cdb

The synonymscodes.cdb file contains correspondense between the task name and its code.

The ZennoLab.ReCaptcha2new.cm file should be opened as a *.zip archive, and synonymscodes.cdb - using notepad or, for example, Notepad++.

Examples:

TaskDef=/m/014xcs;crosswalk
TaskDef=/m/01bjv;bus
TaskDef=/m/01lynh
TaskDef=/m/01pns0
TaskDef=/m/015qff

  • IsNotDynamic

It is necessary to specify True when recognizing ReCaptcha2 size 4x4.
And False in other cases.

Example:

IsNotDynamic=True

  • CropOnePicture

Specify True, if the picture wasn’t cropped.
And False, if the picture was cropped.

Crop only applies to 3х3 ReCaptcha2. Such ReCaptcha2 contains 9 pictures, and these pictures can be sent one by one, just by setting CropOnePicture=False.

Sending one image at a time makes sense after the initial clicks - after that single images begin to load. Then it is not recommended to recognize the whole 3х3 again - it is better to create several requests with CropOnePicture=False (sending only really loaded tiles).

The CropOnePicture parameter determines the format of the received response.

If CropOnePicture=True, CapMonster2 will return the indexes of the pictures to be clicked, separated by commas. The count starts from one. Example: 3,5,9.

If no objects are found, CapMonster2 will return sorry.

If CropOnePicture=False CapMonster2 will return either 0 or 1. In this case, 0 = Object found, and 1 = Object not found.

Example:

CropOnePicture=True

  • No labels