Requires Python >= 3.6
- Install the requirements
$ python -m pip install -r requirements.txt
- Use Postman or Insomnia (or whatever) to GET
https://spl.torneopal.net/taso/rest/getMatches
. Copy the cookie in from the response ("TASO_palloliitto=....") - Create the file
cookie.py
in the script's working directory and define the variablecookie
. Give the variable the cookie value you copied in the previous step.
Example cookie.py
cookie = 'TASO_palloliitto=...morejibberish...'
$ python falli_matches.py
The script will print the results to the console as well as write a log to the file Falli_matches_log.txt
which is prepended to after each run.