Unconditionally stop scraping HTML at specified element (or EOF)
I'm using Python lxml.html package to scrape an HTML file. The HTML I'm trying to scrape reads in part <h1>Description of DAB Ensemble 1</h1><table>Stuff I don't care about</table> <!-- Tags I don't care about --> <div id="announcement_data_block"> <h3>Announcement information</h3> <p>No…