Probably there is a better way, but it is eluding me at present. It can be done with css selectors like this:
html = '''4.1
2.9
22'''
soup = bs4.BeautifulSoup(html)
selectors = ['span.sp.starBig', 'span.sp.starGryB']
result = []
for s in selectors:
result.extend(soup.select(s))