Skip to main content

Util::YandexRecognize - Captcha recognition

Overview of the scraper

It is used as a pluggable component in other scrapers where it may be necessary to solve simple image-based captchas.

The peculiarity of this scraper is that it uses Yandex Translate capabilities for solving. The solving accuracy is not high, but this is compensated by it being free and having a relatively higher speed.

Use Cases

  • Captcha recognition in scrapers where solving captchas is optionally or mandatory to obtain results
  • Captcha recognition in custom JS scrapers
  • Recognition of small text data from images (e.g., phone numbers)

Queries

As queries, you must specify a link to the captcha, for example:

http://a-parser.com/img/captcha.jpeg

Output results examples

  • $answer - captcha answer
  • $error - if an error occurred, its description

Outputting recognized text

Result format:

$answer

Example result:

ifignt eyelids

Possible settings