intent: Python: BeautifulSoup - get an attribute value based on the name attribute
rewritten_intent: BeautifulSoup get value associated with attribute 'content' where attribute 'name' is equal to 'City' in tag 'meta' in HTML parsed string `soup`
snippet: soup.find('meta', {'name': 'City'})['content']