Betting Champion

Web scrapping football matches for statistics from academiadasapostas.com

The code developed access the website were multiples users share their thoughts on the outcome of the match. The code then writes to a json file some information about the game such all the game info (teams, league/competition, date), the number of people who made their assumption, the stats (win Home, draw, win Away) as well as the market odds (may vary based on the house).

Running

Code was developed in a virtual environment, all the requirements are in the requirements.txt. To initialize virtualenv with all the requirements run:

virtualenv env && source env/bin/activate && pip install -r requirements.txt

To Do

  • Add data related to all the games (currently only the games on the first page are available)
  • Separate finished games from scheduled games
  • Add aditional dates (currently only the games of the current day are available)
  • Data analysis - Bet report
  • GUI???
  • Code optimization