I'd like to parse a value from a webpage using beautiful soup. I've found the value using my script. I'm just seeking help to parse the value '1.4340' from the match.
import requests
from bs4 import BeautifulSoup
# Making a GET request
r = requests.get('https://finance.yahoo.com/quote/%5ETNX?p=%5ETNX')
# Parsing the HTML
soup = BeautifulSoup(r.content, 'lxml')
#print(soup.prettify())
match = soup.find('td', class_='Ta(end) Fw(600) Lh(14px)')
print(match)
#<td class="Ta(end) Fw(600) Lh(14px)" data-reactid="40" data-test="PREV_CLOSE-value">1.4340</td>
