find as attrs bs4 code example
Example: beautifulsoup search for elements with attributes
soup = BeautifulSoup(html)
results = soup.findAll("td", {"valign" : "top"})
soup = BeautifulSoup(html)
results = soup.findAll("td", {"valign" : "top"})