[python] Python: BeautifulSoup - get an attribute value based on the name attribute