code: function parseAccountListWithKeys(resp) {
    return new Promise((resolve, reject) => {
      const $ = cheerio.load(resp.body);
      const accounts = [];
  
      $('#ctl00_ContentHeaderPlaceHolder_updatePanelAccount')
        .find('option')
        .each((i, e) => {
          const texts = $(e)
            .text()
            .split('|')
            .map(t => t.trim());
          if (texts.length === 2) {
            const acc = {
              name: texts[0],
              number: texts[1].replace(/\s+/g, ''),
              key: $(e).attr('value'),
            };
            if (acc.key && acc.number && acc.name) {
              accounts.push(acc);
            }
          }
        });
  
      if (accounts.length > 0) {
        resolve(Object.assign({}, resp, { accounts }));
      } else {
        reject(new Error('Cannot find accounts keys'));
      }
    });
  }
docs: Parse the account list from TransactionHistory/History.aspx page AccountWithKeys { name, number, key }