This script will create a .ics file with all the games of a team from www.handball4all.de
⚠ Make sure Python 3.x is installed on your machine.
-
Install the required libraries:
requests
,dirtyjson
,arrow
, andics
. You can install them using pip with the command:pip install requests dirtyjson arrow ics
-
Obtain the Team ID from the Handball4all website. Visit www.handball4all.de and navigate to the site that shows the team's games. From the URL, you can see the corresponding ID:
tId
- Team ID (e.g. 720111) -
Download the script or copy the script into a file and save it as
getGames.py
. -
Open the command prompt or terminal and navigate to the directory where the script is saved.
-
Run the script using the command
python3 getGames.py
or by running the script. -
Enter the Team ID when prompted and press Enter.
-
Wait for the script to finish running. The script will create a .ics file with all the team's games and save it in the same directory as the script.
-
Open the .ics file with any calendar software that supports the iCalendar format (such as Google Calendar or Microsoft Outlook) to see the team's games.