title: Python BeautifulSoup Web Scrape Inside a Div Tag
body: <p>I'm banging my head into a wall over this. I've successfully parsed out most of the tables on this page with no problem, but the <code>&lt;div&gt;</code> tag one has confounded me.</p>
  
  <p>Page = <code>https://www.hockey-reference.com/teams/TBL/2018.html</code></p>
  
  <p>this:</p>
  
  <pre><code>table_div = soup.find('div', {'class': 'table_wrapper setup_long long 
  setup_commented commented', 'id': 'all_stats_adv_rs'})
  </code></pre>
  
  <p>gets me the div tag I am looking for, and I assumed I could just pull out the table: </p>
  
  <pre><code>using table_body = table_div.find('tbody')
  </code></pre>
  
  <p>but that returns nothing, and I really don't know why. If I do a simple:</p>
  
  <pre><code>for row in table_div:
          if 'tbody' in row:
              print ("Found")
  </code></pre>
  
  <p>I get "found", so it's clearly there, so why can't .find find that text?</p>
  
  <p>The above process has worked for every other table, why not this one? I've even tried looking for TRs ... it's like <code>table_div</code> isn't what find is expecting to work on.</p>
  
  <p>I hate asking for help, but I'm really at a loss on this one. Help me see what I'm missing.</p>