human
Deleting a div with a particlular class using BeautifulSoup
assistant
Here is some code to remove a div with a id `main-content` using beautifulsoup

soup.find('div', id='main-content').decompose()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.