Update hydra api url

pull/108/head
Stijn De Clercq 2022-02-17 10:16:13 +01:00 committed by GitHub
parent 959ca627da
commit e6e811fc23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()