title: Cheerio cannot find table by id
body: <p>I'm trying to scrape <a href="https://www.baseball-reference.com/players/p/pujolal01.shtml" rel="nofollow noreferrer">https://www.baseball-reference.com/players/p/pujolal01.shtml</a> for player stats, specifically getting from the Standard Batting and Player Value--Batting tables. Here's part of my code:</p>
  <pre><code>const page = cheerio.load(response.data);
  const statsTable = page('#batting_standard');
  const rows = statsTable.find('tbody &gt; tr').not('.minors_table').add(statsTable.find('tfoot &gt; tr:first'));
  const moreStatsTable = page('#batting_value');
  const moreRows = moreStatsTable.find('tbody &gt; tr, tfoot &gt; tr:first');
  </code></pre>
  <p>For some reason, it's able to retrieve the first table (id = 'batting_standard'), but not the second (id = 'batting_value'), such that <code>moreStatsTable = null</code>. What's going on? I don't understand why cheerio can't find the value table, since it has a unique id. Is it just me having this issue?</p>