bs4.Tag.extract

Tag.extract()

Destructively rips this element out of the tree.