From 063c65dc0f26e71e6c3a8fcb9a6ae66cb0b2de43 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Fri, 2 Jan 2026 21:24:18 +0100 Subject: [PATCH] Switch to https:// URLs everywhere --- README.markdown | 2 +- oe1archive | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index 9e4f31f..4d76d77 100644 --- a/README.markdown +++ b/README.markdown @@ -74,7 +74,7 @@ The OE1 API provides a rolling weekly window of current broadcasts. Streams rema ## Technical Details -- **API**: http://audioapi.orf.at/oe1/json/2.0/ +- **API**: https://audioapi.orf.at/oe1/json/2.0/ - **Stream Source**: https://loopstream01.apa.at/?channel=oe1&shoutcast=0&id=... - **Archive Window**: ~30 days (loopstream availability) diff --git a/oe1archive b/oe1archive index 141c680..bf89f4f 100755 --- a/oe1archive +++ b/oe1archive @@ -66,7 +66,7 @@ from datetime import timedelta # Add audioapi as constant: -AUDIOAPI_BASE_URL = "http://audioapi.orf.at/oe1/json/2.0/" +AUDIOAPI_BASE_URL = "https://audioapi.orf.at/oe1/json/2.0/" BROADCAST_API_URL = 'https://audioapi.orf.at/oe1/api/json/current/broadcast/' @@ -219,7 +219,7 @@ class Archive: """Get the player URL for a broadcast.""" date = self.json[day]['day'] pk = self.json[day]['broadcasts'][broadcast]['programKey'] - url = "http://oe1.orf.at/player/%d/%s" + url = "https://oe1.orf.at/player/%d/%s" return url % (date, pk) def get_broadcast_title(self, day, broadcast): -- 2.39.5