Hey. You can use requests and beautifulsoup to extract data from html tables. Refer to this code snippet:
import bs4
import requests
page = requests.get("www.xyz.com")
soup = bs4.BeautifulSoup(page.text)
for tr in soup.find_all('tr'):
for td in tr.find_all('td'):
print(td.text)