I have some HTML code in a table like this:
<html>
  <head></head>
  <body>
    <tr>
      <td class="class1">data1<td/>
      <td class="class2">data2<td/>
      <td class="class3">data3<td/>
      <td class="class4">data4<td/>
      <td class="class5">data5<td/>
    </tr>
  </body>
</html>How do I use beautiful soup to get the data/string with a specific class?
When I use print(soup.body.td) I just get the first result.
 
    