Util::RotateCaptcha - captcha recognition via supported services
Overview of the scraper

This scraper is typically used as a plug-in component in other scrapers where it may be necessary to solve image-based captchas that require the number of degrees to rotate the image as an answer.
The principle of this scraper's operation consists of sending the captcha image to a solving service and receiving back the number of degrees the image needs to be rotated. The accuracy of the solving depends solely on the solving service.
Scraper use cases
🔗 Captcha in JS scrapers
Example of a JS scraper for working with captchas
Capabilities
- Support for RuCaptcha and 2captcha
- Ability to configure response timeout
Use cases
- RotateCaptcha recognition in custom JS scrapers
Queries
As queries, you must specify a link to the captcha image, for example:
https://files.a-parser.com/img/rotatecaptcha_sample.png
Output results examples
$resp- captcha response (the number of degrees to rotate the image)$error- if an error occurred, its description
Outputting recognized text
Result format:
$resp
Example result:
215
Possible settings
| Parameter | Default value | Description |
|---|---|---|
| Provider | RuCaptcha | Solving service selection, automatically substitutes the correct service address (url) |
| Provider url | Solving service domain, allows overriding the service domain, can be empty | |
| Client key | Service access key | |
| Wait between get status | 5 | Delay between polling the solving service for captcha status |
| Max wait time | 300 | Maximum wait time for a recognized captcha |
| Log captcha images | ☐ | Manage outputting captcha images to the log |
| Angle of rotation per step in degrees | 5 | Rotation angle per step in degrees |