I'm new to webscraping and I'm trying to scrape the table from this website: https://www.eloratings.net/2016_European_Championship
import pandas as pd
import requests
from bs4 import BeautifulSoup
url = 'https://www.eloratings.net/2016_European_Championship'
r = requests.get(url).text
soup = BeautifulSoup(r, "html.parser")
df = pd.read_html(str(soup.find_all('table')))
I get the "No tables found" error.
If I try to use an index to find the table:
df = pd.read_html(str(soup.find_all('table')[0]))
I get "List index out of range".
I have also tried using the Json package and Helium/Selenium webdrivers but I cannot make anything work.