From: Stefan Huber Date: Sat, 3 Jan 2026 15:04:40 +0000 (+0100) Subject: Fix URLs for specific broadcast X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=aaf027cfb6684035d19710c39efa12c2870023c8;p=oe1archive.git Fix URLs for specific broadcast Fix wrong URL introduced by commit ba21947c. --- 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: