Спойлер: Код парсера Код: const vision = require('@google-cloud/vision'); class Parser { constructor() { this.defaultConf = { version: '0.1.4', results: { flat: [ ['title', 'HTML title'], ] }, results_format: '$query: $title\\n', parsecodes: { 200: 1, }, max_size: 200 * 1024, }; } async *parse(set, results) { const client = new vision.ImageAnnotatorClient(); const fileName = 'http://www.sepicat.com/wp-content/uploads/2018/04/shutterstock_475390057-1.png'; let [result] = await client.labelDetection(fileName); const labels = result.labelAnnotations; labels.forEach(label => this.logger.put(label.description)); results.success = 1; return results; } }