This commit is contained in:
polyfloyd 2023-01-24 19:44:33 +01:00
parent 676860c368
commit c105428ec5

4
calendarparser.py Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import requests import requests
import json import json
import icalendar import icalendar
@ -57,4 +59,4 @@ for key, value in events['results'].items():
f = open(sys.argv[1], 'wb') f = open(sys.argv[1], 'wb')
f.write(cal.to_ical()) f.write(cal.to_ical())
f.close() f.close()