title: Beautiful Soup scrape text from second child in same div class
body: <p>I have two <code>&lt;tr&gt;</code> tags within the same div class. The first tr tag prints the text just fine. I am trying to access the second tr tag within the container that I have but I cant seem to get it to work. Also please note, not all containers have a second <code>&lt;tr&gt;</code> tag so I need an <code>if</code> statement to check if it exists first. Then if it does, print the text from it. Thanks!</p>
  
  <pre><code>page_soup = soup(page_html, "html.parser")
  
  containers = page_soup.findAll("div",{"class":"right"})
  
  for container in containers:
      print(container.span.text)
      print(container.tr.text)
  
      if container.nextSiblings('tr')[1]:
          print(container.nextSiblings('tr')[1].text)
  </code></pre>