Member-only story
Creating an Arbitrage Alert System from scratch using Python and Supabase Day 8— Flashscore Fixture Scraper V1
2 min readFeb 17, 2024
Hey Guys, welcome back to Day 8, and today we are going through the first version of the Flashscore Fixture scraper. The repo with the full code can be found here -
We begin by initializing our driver code, replace the path in service = with the path to your driver. We then create arrays with the links we are scraping, the league names and league ids.
leagues_links = ["https://www.flashscore.com/football/england/premier-league/fixtures/","https://www.flashscore.com/football/england/championship/fixtures/",
"https://www.flashscore.com/football/england/league-one/fixtures/","https://www.flashscore.com/football/england/league-two/fixtures/"
,"https://www.flashscore.com/football/england/national-league/fixtures/","https://www.flashscore.com/football/australia/a-league/fixtures/"
,"https://www.flashscore.com/football/denmark/superliga/fixtures/","https://www.flashscore.com/football/france/ligue-1/fixtures/",
"https://www.flashscore.com/football/france/ligue-2/fixtures/","https://www.flashscore.com/football/germany/bundesliga/fixtures/"…