I'm not sure I follow, however, if you are using BeautifulSoup:
from bs4 import BeautifulSoup as bs
html = '<span id="my_rate">264.46013</span>'
soup = bs(html, 'html.parser')
value = soup.select_one('span[id="my_rate"]').get_text()
print(value)
Result:
264.46013
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments