Member-only story

Creating an Arbitrage Alert System from scratch using Python and Supabase Day 4 — Adding Data to DB

The Scraper Guy
2 min readFeb 7, 2024

--

Hey guys, we are back again for 4 of our journey to creating a fully functional arbitrage alert system.

CSV files here -

https://github.com/paulc160/csv_files_arbitrage

Over the past few days I have been putting together some data we will need. I uploaded the tournaments data I showed yesterday into the db by exporting the excel as a csv and inserting this into the db this way.

Click the green insert in the football_leagues_common db table and select the csv file you have just exported and the data should be inserted successfully.

In addition to this, I spent the last few days putting together a similar document for the teams. I searched for team specific data online but found nothing that resembles what we need. In this case I put together an excel spreadsheet manually with the necessary data. If you guys have an resources with team info for a variety of leagues please let me know in the responses.

I have not included every leagues teams in this document yet, as this would be too much work currently. I want to get the main leagues and teams added now, so that we can move on to the more difficult elements of this project which is the scraping and…

--

--

The Scraper Guy
The Scraper Guy

Written by The Scraper Guy

Teaching You How to Scrape Using Python LinkTree - https://linktr.ee/scrapingguy

No responses yet