title: Beautiful Soup not returning a list for html table
body: <p>I am trying to extract the description, date and url from the table in the following page:</p>
  
  <p><a href="https://www.fda.gov/safety/recalls-market-withdrawals-safety-alerts" rel="nofollow noreferrer">https://www.fda.gov/safety/recalls-market-withdrawals-safety-alerts</a></p>
  
  <p>For my code to be consistent with 20 other url's I need to have the logic of below i.e. findall of the whole body and then loop through it to find the applicable data.</p>
  
  <p>The problem is that the table body is null.</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  r = requests.get("https://www.fda.gov/safety/recalls-market-withdrawals-safety-alerts")
  
  c = r.content
  
  soup = BeautifulSoup(c,"html.parser")
  
  all = soup.find_all("tbody") #whole table text THIS IS WHERE THE PROBLEM ORIGINATES
  
  for item in all:
      print(item.find_all("tr").text) #test for tr text i.e. product description
      print(item.find("a")["href"]) #url
      print(item.find_all("td")[0].text) #date (won't work but can't test until tbody returns data
  
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks in advance!</p>