code: function parseHttpResponse(options, filesWithHash) {
      if (options.verbose) {
          _utils.logger.info('Parsing HTTP responses...');
      }
      var promises = [];
      var _iteratorNormalCompletion5 = true;
      var _didIteratorError5 = false;
      var _iteratorError5 = undefined;
  
      try {
          for (var _iterator5 = filesWithHash[Symbol.iterator](), _step5; !(_iteratorNormalCompletion5 = (_step5 = _iterator5.next()).done); _iteratorNormalCompletion5 = true) {
              var fileWithHash = _step5.value;
  
              if (fileWithHash.subtitlesPresent) continue;
              var p = (0, _utils.XML2JSON)(options, fileWithHash).catch(function (err) {
                  if (options.verbose) {
                      _utils.logger.info('Error in HTTP response: ', err.err);
                  }
                  return err.fileWithHash;
              });
              promises.push(p);
          }
      } catch (err) {
          _didIteratorError5 = true;
          _iteratorError5 = err;
      } finally {
          try {
              if (!_iteratorNormalCompletion5 && _iterator5.return) {
                  _iterator5.return();
              }
          } finally {
              if (_didIteratorError5) {
                  throw _iteratorError5;
              }
          }
      }
  
      return Promise.all(promises);
  }
docs: Parse HTTP response from Napiprojekt server. Format XML response to JSON and save subtitles to file.
  @param {NapijsOptions} options
  @param filesWithHash
  @returns {Promise}