So I have looked through stack overflow but I cannot seem to find an answer to my problem. How do I get the text, specific text, after a < br > tag?
This is my Code:
product_review_container = container.findAll("span",{"class":"search_review_summary"})
for product_review in product_review_container:
prr = product_review.get('data-tooltip-html')
print(prr)
This is the output:
Very Positive<br>86% of the 1,013 user reviews for this game are positive.
I want in this string only the 86% and also seperatly only the 1,013. So the numbers only. However it is not an int so I do not know what to do.
Here is where the text comes from:
[<span class="search_review_summary positive" data-tooltip-html="Very Positive<br>86% of the 1,013 user reviews for this game are positive.">
</span>]
Here is the link from where I am getting the information: https://store.steampowered.com/search/?specials=1&page=1
Thank you!