mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Update hydra api url
This commit is contained in:
parent
959ca627da
commit
e6e811fc23
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ def etenScript(dag: datetime):
|
|||
|
||||
# Fetch from API
|
||||
try:
|
||||
menu = requests.get(f"https://zeus.ugent.be/hydra/api/2.0/resto/menu/nl/{dag.year}/{dag.month}/{dag.day}.json").json()
|
||||
menu = requests.get(f"https://hydra.ugent.be/api/2.0/resto/menu/nl/{dag.year}/{dag.month}/{dag.day}.json").json()
|
||||
|
||||
if not menu["meals"]:
|
||||
raise Exception()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue