A python script that scrap the websites of the different motorsport series :
- Formula 1 - Formula 2 - Formula 3
- MotoGP - Moto2 - Moto3
- WRC
- WEC (not official)
- European Le Mans Series
- Other Endurance Series (not official)
- IndyCar and IndyLights
new series incomming...
and add requested motorsport event to a google calendar.
The prerequisites and the first step of this quickstart here.
Also run in terminal :
pip3 install dateparser
pip3 install beautifulsoup4==4.10.0
pip3 install requests
pip3 install rich
Copy the credential .json file in the project directory and rename it credential.json.
In the choices.json file, set to true
the motorsport series for which one you want to add events to your calendar.
You can add the id of a particular google calendar in the config.json file.
It will open a navigator window to allow your Google Cloud Project to access your Google Calendar.
On each run, the script will check if there are new confirmed events on the website and will add to your calendar.
You can change the motorsport series in the config.json file at any moment.
If setting one from true to false, upcomming events for this serie will be removed from your calendar.
For those who just want to subscribe to some calendars and add theme to your own calendar, you can download these .ics subscription links:
- Formula 1
- Formula 2
- Formula 3
- Moto GP
- Moto 2
- Moto 3
- WRC
- WEC
- European Le Mans Series
- 24h Series
- All other Endurance Series
or pick the endurance series you want :
- IndyCar
- IndyLights