Open bjornregnell opened 3 years ago
With
curl https://cs.lth.se/pgk/schema/timeedit/ -s -L -I -o /dev/null -w '%{url_effective}'
You get the url to timeedit ending with .html and replace the ending with .csv and you get the csv data. This can be done with a simple bashscript to update and save it as timeedit.csv using curl and writing a scala program that merges this into the GENERATED code. This could use the Scala Process api to call curl and update data GENERATED before building the webbapp.
I'm not sure this is worth it, as it will clutter the list with many more rows. What do others think?
This means downloading csv from TimeEdit and extracting relevant rows to inject in data. https://cs.lth.se/pgk/schema/timeedit/