beautifulsoup Eliminar etiqueta con clase
#If you want to remove a div with a specific id, say main-content, you can do that with
soup.find('div', id="main-content").decompose()
Doubtful Dotterel