code: function parseTitle(resp) {
    return new Promise((resolve) => {
      const $ = cheerio.load(resp.body);
      const contentType = resp.headers['content-type'];
      if (contentType && contentType.indexOf('text/html') >= 0) {
        const m = /NetBank - ([^-]+)/.exec($('title').text());
        if (m) {
          const title = m[1].trim();
          debug(`parseTitle(): found title => '${title}'`);
          return resolve(Object.assign({}, resp, { title }));
        }
      }
      debug('parseTitle(): cannot find title');
      return resolve(resp);
    });
  }
docs: Parsers