beautifulsoup get element attribute code example
Example 1: beautifulsoup find tag with attribute
soup = BeautifulSoup(html)
results = soup.findAll("td", {"valign" : "top"})
Example 2: beautiful soup get html attribute value
output = input_tag[0]['value']