i3pystatus/ice-status.py change api url
cert for portal.imice.de expired 2 weeks ago
This commit is contained in:
parent
922dfa6ea3
commit
7d541c9f7e
1 changed files with 2 additions and 2 deletions
|
@ -33,11 +33,11 @@ try:
|
||||||
|
|
||||||
now = datetime.now()
|
now = datetime.now()
|
||||||
|
|
||||||
trip_info_req = get('https://portal.imice.de/api1/rs/tripInfo/trip')
|
trip_info_req = get('https://iceportal.de/api1/rs/tripInfo/trip')
|
||||||
trip_info_req.raise_for_status()
|
trip_info_req.raise_for_status()
|
||||||
trip_info = trip_info_req.json()['trip']
|
trip_info = trip_info_req.json()['trip']
|
||||||
|
|
||||||
ice_status_req = get('https://portal.imice.de/api1/rs/status')
|
ice_status_req = get('https://iceportal.de/api1/rs/status')
|
||||||
ice_status_req.raise_for_status()
|
ice_status_req.raise_for_status()
|
||||||
ice_status = ice_status_req.json()
|
ice_status = ice_status_req.json()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue