Canada Basketball Analytics

How to Web Scrape Team Canadas FIBA Rankings

Throughout the initial development of this website, a lot of the scraping of data on the web was done manually either by copying and pasting or leveraging some Google Chrome plugins. If you’ve ever developed anything before you know that manual tasks like these get tedious and are a time waste which can be spent working on more fun and interesting challenges. Due to our love/hate relationship with these manual tasks we built out some automated processes to web scrape FIBA rankings (more specifically Team Canada’s) and load on a recurring basis into an AWS S3 Bucket (as a CSV) and into our MySQL which this website pulls from and keeps the ranking tables updated on a monthly basis. We thought it would be good to share our knowledge around how we accomplished this!