add proxy for the first part and try to develop the second part
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user