Python/BeautifulSoup - how to remove all tags from an element?
Question: How can I simply strip all tags from an element I find in BeautifulSoup?


Answer: With `BeautifulStoneSoup` gone in `bs4`, it's even simpler in Python3

    
    
    from bs4 import BeautifulSoup
    
    soup = BeautifulSoup(html)
    text = soup.get_text()
    print(text)
    

