Data Science Blog

Web Scraping

I regularly enjoy competing with my friends to forecast the score of a football match and sometimes try to bet on those I feel confident. It is good to have an organization of your movements, specially if like me you want to perform some analytics to improve your predictions; and of course Excel is the easiest tool to do that.

But it is painful to write all the information you are interested in into you Excel files. In this GitHub repo I have included scripts to one-click download into structured Excel files the information regarding the Spanish Football League statistics: calendars, teams, players... for several seasons! I use the famous library Beautiful Soap 4 for Python.

I have write one tutorial-oriented notebook among them, to see how to catch from Marca, online sports newspaper, the calendar for the current season going on 2018-2019.

Hope you find it useful!