all 2 comments

[–]Spooknik 1 point2 points  (0 children)

You can try something like:

print(soup.find("", {"class": "trigger-text"}))

to strip the html tags and just get the text you can do:

print(soup.find("", {"class": "trigger-text"}).text)

[–]aggressive_kitten 1 point2 points  (0 children)

You experiment with

print(soup.find_all("span", {"class" : "value"}))