Extracting an attribute value with beautifulsoup,inputTag = soup.findAll(attrs={'name': 'stainfo'})