Premier League Last 5 Seasons Match Scores, xGs, Attendance, Venue and Referee data scraping on FBREF with BeautifulSoup and Requests libraries
You can use it to scrape any league data on FBREF by changing the url information.
Premier League Last 5 Seasons Match Scores, xGs, Attendance, Venue and Referee data scraping on FBREF with BeautifulSoup and Requests libraries
Jupyter Notebook