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

This scraper is usually used as a plug-in component in other scrapers where it may be necessary to solve image captchas, and the answer must be the number of degrees by which the image should be rotated.
The principle of this scraper is to send the captcha image to the solving service and receive the number of degrees by which the image should be rotated in response. The correctness of the solution depends solely on the solving service.
Scraper application cases
🔗 Captcha in JS scrapers
Example of a JS scraper for working with captchas
Capabilities
- Supports working with RuCaptcha and 2captcha
- Ability to configure response timeout
Use Cases
- Recognition of RotateCaptcha in proprietary JS scrapers
Queries
As queries, you need to specify the link to the captcha image, example:
https://files.a-parser.com/img/rotatecaptcha_sample.png
Output results examples
$resp- captcha answer (the number of degrees by which the image should be rotated)$error- if an error occurred, its description
Output of recognized text
Result format:
$resp
Result example:
215
Possible settings
| Parameter | Default value | Description |
|---|---|---|
| Provider | RuCaptcha | Selection of the solving service, automatically substitutes the correct service address (url) |
| Provider url | Domain of the solving service, allows overriding the service domain, can be empty | |
| Client key | Access key to the service | |
| Wait between get status | 5 | Delay between polling the solving service about captcha status |
| Max wait time | 300 | Maximum waiting time for recognized captcha |
| Log captcha images | ☐ | Control of outputting captcha images to the log |
| Angle of rotation per step in degrees | 5 | Rotation angle per step in degrees |