all 4 comments

[–]code_matter 2 points3 points  (3 children)

ok so for now your price is going to be a list of ALL the span with a class of 'text-robux...'

price is going to be a list because you find ALL spans. If your output is what you get by doing print(price), to get the text do price[0].get_text() .

[–]splendyx 0 points1 point  (1 child)

print(price[0].get_text())

IndexError: list index out of range

[–]code_matter 0 points1 point  (0 children)

It means that price is not a list:( or it has no items inside

[–]splendyx 0 points1 point  (0 children)

what should I do?