Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get all h1 beautifulsoup

# to get all h1 from the page 
soup = BeautifulSoup('html_file', 'html.parser')
all_h1 = soup.find_all('h1')
 
PREVIOUS NEXT
Tagged: #beautifulsoup
ADD COMMENT
Topic
Name
6+4 =