SE::Yandex::Translate - Translates text via Yandex translator

Overview of the scraper

Fast, up to 2100 requests per minute, multi-threaded text translator via the Yandex service. This scraper allows translating any volume of texts automatically, so you get unique content for filling sites, posting on social networks, or filling any other resources. The scraper automatically detects the source language of the content; you only need to specify the language for the results. Yandex translator can handle colossal volumes of text without consuming much resources.
Collected data
- Translated text
- Source text language
Capabilities
- Choose translation language
- Automatic language detection
Use cases
- Text translation
- Obtaining different content in the required language for further use
Queries
As queries, you need to specify any text for translation, for example:
A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!
Output results examples
A-Parser supports flexible result formatting thanks to the built-in templating engine Template Toolkit, which allows it to output results in arbitrary form, as well as in structured form, for example CSV or JSON
Default output
Result format:
$query - $translated\n
Example result:
A-Parser - a multi-threaded scraper of search engines, site evaluation services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 scrapers in total! - A-Parser - multi-threaded scraper of search engines, site evaluation services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 scrapers in total!
Output of only translated text
Result format:
$translated\n
Example result:
A-Parser - multi-threaded scraper of search engines, site evaluation services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 scrapers in total!
Output to CSV table
Result format:
[% tools.CSVline(query, detected, translated) %]
Example result:
"A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!",en,"A-Parser - multi-threaded scraper of search engines, site evaluation services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 scrapers in total!"
Saving in SQL format
Result format:
[% "INSERT INTO text VALUES('" _ query _ "', '"; detected _ "', '"; translated _ "')\n"; %]
Example result:
INSERT INTO text VALUES('A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!', 'en', 'A-Parser - multi-threaded scraper of search engines, site evaluation services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 scrapers in total!')
Dump results to JSON
Общий формат результата:
[% IF notFirst;
",\n";
ELSE;
notFirst = 1;
END;
obj = {};
obj.query = query;
obj.detected = p1.detected;
obj.translated = p1.translated;
obj.json %]
Начальный текст:
[
Конечный текст:
]
Example result:
[{"query":"A-Parser - a multi-threaded parser of search engines, site assessment services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 parsers in total!","translated":"A-Parser - multi-threaded scraper of search engines, site evaluation services, keywords, content(text, links, random data) and much more(youtube, pictures, translators...). A-Parser combines over 60 scrapers in total!","detected":"en"}]
To make the "Initial text" and "Final text" options available in the Job Editor, you must activate "More options".
Available settings
| Parameter | Default value | Description |
|---|---|---|
| AntiGate preset | default | Selection of the Util::AntiGate preset, more details on the setup here |
| AntiGate preset for old captcha | default | Similar to AntiGate preset, but used only for regular (old, single image) captchas. If a preset is not selected here, the preset selected in AntiGate preset will be used for such captchas. |
| Experimental img captcha max count | 5 | Maximum number of repeated captcha images per attempt |
| Preffered captcha type | Click | Selection of preferred captcha type: Click or Puzzle |
| From language | Auto-Detect | Select which language to translate text from, defaulting to auto-detection |
| To language | English | Select the language into which the translation should be performed |
| Use sessions | ☑ | Option to disable the use of sessions |
