Answers for "beautifulsoup find multiple tags"

0

beautifulsoup find multiple tags

html = driver.page_source
soup = BeautifulSoup(html)
i = 0
for tag in soup.find_all(['a',’div’]):
    print (tag.text)
Posted by: Guest on June-10-2021

Browse Popular Code Answers by Language