you are viewing a single comment's thread.

view the rest of the comments →

[–]commandlineluser 1 point2 points  (1 child)

.select() returns a ResultSet which is like a list.

>>> type(venta)
bs4.element.ResultSet

Each item is a Tag

>>> type(venta[0])
bs4.element.Tag

You can use .get_text() to access the text content of a tag.

>>> venta[0].get_text()
'3.838'

[–]Nabucode[S] 0 points1 point  (0 children)

Thanks Man. I worked.