Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete elem soup

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