The goal of this project is to create a fully hands-off bot that will participate in our friend group's Fantasy Surf League for the 2024 World Surf League (WSL) season. The bot will scrape the WSL website to collect relevant information and stats on each of the surfers for each of the 11 events (competitions) and use that data to make predictions about how well each surfer will perform. It will then sign into its own profile and create its team.
Fantasy Surf is similar to other sports fantasy leagues. Each player selects a team of athletes (8 male and 4 female) for each event. There are 3 tiers that you select the athletes from: A, B, and C. The tiers are based on the current ranking of the athletes.
There are 10 events in the WSL season: 9 Regular season events and 1 final event. There is a mid-season cut after event #5 where only the top 24 male and 12 female athletes continue the rest of the regular season. After event #10, only the top 5 male and top 5 female athletes move on to the final event where a world champion is determined. This season is shortened due to the 2024 Paris Olympic Games where many of these athletes will be competing at Teahupo'o in July.
WSL event locations for the 2024 season:
#1 Banzai Pipeline, Hawaii, USA (January 29 - February 10)
#2 Sunset Beach, Hawaii, USA (February 12 - 23)
#3 Peniche, Portugal (March 6 - 16)
#4 Bells Beach, Victoria, Australia (March 26 - April 5)
#5 Margaret River, Western Australia, Australia (April 11 - 21)
#6 Teahupo'o, Tahiti, French Polynesia (May 22 - 31)
#7 Punta Roca, El Salvador (June 6 -15)
#8 Saquarema, Rio de Janeiro, Brazil (June 22 - 30)
#9 Cloudbreak, Fiji (August 20 -29)
WSL Final: Lower Trestles, San Clemente, California, USA (September 6 - 14)
Version 2.5 pulls data from athletes on the 2023 tour. The next steps will involve joining event ranking data and pulling data from previous years so that we have sufficient data for the machine learning model to be built.
In order to run this script, you must have Python installed on your machine and Selenium version 4.0 or higher.