Skip to main content

DeepL::Translator - text translation via www.deepl.com service

DeepL Translator

Overview

Fast, up to 1600 requests per minute, multithreaded text translation via the Deepl service. This scraper allows you to translate any volumes of texts automatically, so you get unique content for filling websites, posting on social networks, or for populating any other resources. The scraper automatically determines the original language of the content, you only need to specify the language of the results. Deepl translator is capable of processing colossal volumes of text while not consuming many resources.

Overview

Collected data

  • Translated text
  • Language of the original text

Capabilities

  • Choice of translation language
  • Automatic language detection

Use cases

  • Text translation
  • Obtaining various content in the desired 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 Template Toolkit, which allows it to output results in any form, as well as in structured formats, such as CSV or JSON

Default output

Result format:

$query - $translated\n

An example of a result that displays the original text and translation into the selected language:

A-Parser is a multithreaded parser of search engines, site evaluation services, keywords, content (text, links, random data) and much more (youtube, pictures, translators...). In total, A-Parser combines more than 60 parsers! - A-Parser - многопоточный парсер поисковых систем, сервисов оценки сайтов, ключевых слов, контента (текста, ссылок, случайных данных) и многого другого (youtube, картинок, переводчиков...). Всего A-Parser объединяет более 60 парсеров!

Output of query, detected language, and translated text in a CSV table

Result format:

[% tools.CSVline(query, detected, translated) %]

Example of 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 - многопоточный парсер поисковых систем, сервисов оценки сайтов, ключевых слов, контента (текста, ссылок, случайных данных) и многого другого (youtube, картинок, переводчиков...). Всего A-Parser объединяет более 60 парсеров!"

Saving in SQL format

Result format:

[%  "INSERT INTO text VALUES('" _ query _ "', '";   detected _ "', '";  translated _ "')\n";  %]

Example of 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 - многопоточный парсер поисковых систем, сервисов оценки сайтов, ключевых слов, контента (текста, ссылок, случайных данных) и многого другого (youtube, картинок, переводчиков...). Всего A-Parser объединяет более 60 парсеров!')

Dumping 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 of 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 - многопоточный парсер поисковых систем, сервисов оценки сайтов, ключевых слов, контента (текста, ссылок, случайных данных) и многого другого (youtube, картинок, переводчиков...). Всего A-Parser объединяет более 60 парсеров!","detected":"EN"}]
tip

To make the "Initial text" and "Final text" options available in the Task Editor, you need to activate "More options".

Possible settings

ParameterDefault valueDescription
From languageAuto-DetectChoice of the language to translate from, by default set to auto-detection
To languageEnglishChoice of language to perform the translation into