Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete tag beautifulsoup

elem_found = soup.find(tag_elem)
if elem_found:
	elem_found.decompose() #Removes found tag element from soup
 
PREVIOUS NEXT
Tagged: #delete #tag #beautifulsoup
ADD COMMENT
Topic
Name
2+8 =