[Solved] parse a HTML file with table using Python

Find all tr tags and get td tags by class attribute: # encoding: utf-8 from bs4 import BeautifulSoup data = u””” <table> <tr> <td class=”zeit”><div>03.12. 10:45:00</div></td> <td class=”system”><div><a target=”_blank” href=”https://stackoverflow.com/questions/27272247/detail.php?host=CG&factor=2&delay=1&Y=15″>CG</div></a></td> <td class=”fehlertext”><div>System steht nicht zur Verfügung!</div></td> </tr> <tr> <td class=”zeit”><div>03.12. 10:10:01</div></td> <td class=”system”><div><a target=”_blank” href=”detail.php?host=DEXProd&factor=2&delay=5&Y=15″>DEX</div></a></td> <td class=”fehlertext”><div>ssh: Connection refused Couldn’t read packet: Connection reset by … Read more