I am trying to parse HTML using Beautiful SOAP (Python Library). Does anyone know how to parse below HTML using Beautiful SOAP?
<span class="passingAlert bar">
<span class="fold-buttons">
<a href="#" onclick="fold();">Fold</a> |
<a href="#" onclick="unfold();">Unfold</a>
</span>149 specs, 0 failed, 0 pending
</span>
I need to get 149 specs, 0 failed, 0 pending from HTML.
soup = BeautifulSoap(your_html, 'html.parser'). After that you have to only "search".