Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get html info

from bs4 import BeautifulSoup

my_HTML = #Some HTML file (could be a website, you can use urllib for that)

soup = BeautifulSoup(my_HTML, 'html.parser')

print(soup.prettify())
Source by www.crummy.com #
 
PREVIOUS NEXT
Tagged: #python #html #info
ADD COMMENT
Topic
Name
4+8 =