Hi! I´m trying to get just 36.5 | 37..5 ..... sizes and not h2 content. However I´m getting it because I´m doing something wrong. I tested a lot of ways with splits [|], [-1] but not working, not sure why. Hope anyone can help me thanks.
Here you have picture of content I want to get and code I have.
At the moment result I´m getting is
"Sizes available" + sizes. But is just want sizes.
my code:
sizes = url.find("div", "available-sizes")
sizes = sizes.text.split("\\n")[-1]
Here you have picture of content I want to get and code I have.
At the moment result I´m getting is
"Sizes available" + sizes. But is just want sizes.
my code:
sizes = url.find("div", "available-sizes")
sizes = sizes.text.split("\\n")[-1]