beautifull soup fin all with attribute match 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"})