Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

beautifulsoup remove all html tags

# credit to the Stack Overflow user in the source link

from bs4 import BeautifulSoup

soup = BeautifulSoup(html)
text = soup.get_text()
print(text)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #beautifulsoup #remove #html #tags
ADD COMMENT
Topic
Name
4+9 =