human
Finding multiple attributes within the span tag in Python
assistant
Here is some code to beautifulSoup find all 'span' elements in HTML string `soup` with class of 'starGryB sp'

soup.find_all('span', {'class': 'starGryB sp'})

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.