beautifulsoup find multiple tags code example
Example: beautifulsoup find multiple tags
html = driver.page_source
soup = BeautifulSoup(html)
i = 0
for tag in soup.find_all(['a',’div’]):
print (tag.text)
html = driver.page_source
soup = BeautifulSoup(html)
i = 0
for tag in soup.find_all(['a',’div’]):
print (tag.text)