Thank you for the helpers !
I am scraping a table of data about covid19 and push it into a pandas data frame , it was working until this morning .
That the code :
import pandas as pd
import requests
from bs4 import BeautifulSoup
url = 'https://www.worldometers.info/coronavirus/'
req = requests.get(url)
page = BeautifulSoup(req.content, 'html.parser')
table = page.find_all('table',id="main_table_countries_today")[0]
print(table)
df = pd.read_html(str(table))[0]
This morning I starting to get the next error :
ValueError: No tables found matching pattern '.+'
Can you please help me figure it out ?
pip install COVID19Pyhttps://pypi.org/project/COVID19Py/