add proxy for the first part and try to develop the second part

This commit is contained in:
Pierre Geeraert
2025-12-03 12:08:56 +00:00
parent 6c34d510e5
commit 460f18d85a
1095 changed files with 358799 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
from ics import Calendar
from urllib.request import urlopen # py3
import requests # Alternative: use requests
url = "webcal://prometheusgroup.pagerduty.com/private/ec39afcfcc8fad708b335db797b2c1f4324f7f7097b3c1b65c3c0cea08388915/feed/PLHRBFV"
urlopen(url)
#c = Calendar(urlopen(url).read().decode('iso-8859-1'))
#c = Calendar(requests.get(url).text)
#c
#print(c)