title: BeautifulSoup can't find required div
body: <p>I have been trying to get at a nested div and its contents but am not able to. I want to access the div with class:'box coursebox'. 
  <a href="https://i.stack.imgur.com/sPX5b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sPX5b.png" alt="source code of required section of page"></a></p>
  
  <pre><code>response = res.read()
  soup = BeautifulSoup(response, "html.parser")    
  div = soup.find_all('div', attrs={'class':'box coursebox'})
  </code></pre>
  
  <p>The above code gives a div with 0 elements, when there should be 8. 
  find_all calls before this line work perfectly.</p>
  
  <p>Thanks for helping!</p>