python bs4 select by attribute 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"})