From aaf027cfb6684035d19710c39efa12c2870023c8 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Sat, 3 Jan 2026 16:04:40 +0100 Subject: [PATCH] Fix URLs for specific broadcast Fix wrong URL introduced by commit ba21947c. --- oe1archive | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oe1archive b/oe1archive index bd0cf6a..4c2d33b 100755 --- a/oe1archive +++ b/oe1archive @@ -226,7 +226,7 @@ class Archive: date = self.json[day]["day"] pk = broadcast_entry["programKey"] - burl = AUDIOAPI_API_URL + "broadcasts/%s/%d" + burl = AUDIOAPI_API_URL + "broadcast/%s/%d" try: bjson = read_json(burl % (pk, date)) except Exception as e: @@ -251,7 +251,7 @@ class Archive: date = self.json[day]["day"] pk = self.json[day]["broadcasts"][broadcast]["programKey"] - burl = AUDIOAPI_API_URL + "broadcasts/%s/%d" + burl = AUDIOAPI_API_URL + "broadcast/%s/%d" try: bjson = read_json(burl % (pk, date)) except Exception: @@ -313,7 +313,7 @@ class Archive: try: date = djson["day"] pk = bjson["programKey"] - burl = AUDIOAPI_API_URL + "broadcasts/%s/%d" + burl = AUDIOAPI_API_URL + "broadcast/%s/%d" bjson_full = read_json(burl % (pk, date)) description = bjson_full.get("description", "") if description and rex.search(description) is not None: -- 2.39.5