feat: Update podcast proxies
All checks were successful
Build Docker / BuildImage (push) Successful in 2m4s

This commit is contained in:
Nathan Woodburn 2025-02-18 17:46:14 +11:00
parent cecfdea07f
commit dade1f5d8d
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -1049,7 +1049,7 @@ def hnsdoh_acme():
@app.route("/ID1") @app.route("/ID1")
def ID1(): def ID1():
# Proxy to ID1 url # Proxy to ID1 url
req = requests.get("https://id1.woodburn.au/ID1") req = requests.get("https://podcasts.c.woodburn.au/ID1")
return make_response( return make_response(
req.content, 200, {"Content-Type": req.headers["Content-Type"]} req.content, 200, {"Content-Type": req.headers["Content-Type"]}
) )
@ -1058,7 +1058,7 @@ def ID1():
@app.route("/ID1/") @app.route("/ID1/")
def ID1_slash(): def ID1_slash():
# Proxy to ID1 url # Proxy to ID1 url
req = requests.get("https://id1.woodburn.au/ID1/") req = requests.get("https://podcasts.c.woodburn.au/ID1/")
return make_response( return make_response(
req.content, 200, {"Content-Type": req.headers["Content-Type"]} req.content, 200, {"Content-Type": req.headers["Content-Type"]}
) )
@ -1067,7 +1067,7 @@ def ID1_slash():
@app.route("/ID1/<path:path>") @app.route("/ID1/<path:path>")
def ID1_path(path): def ID1_path(path):
# Proxy to ID1 url # Proxy to ID1 url
req = requests.get("https://id1.woodburn.au/ID1/" + path) req = requests.get("https://podcasts.c.woodburn.au/ID1/" + path)
return make_response( return make_response(
req.content, 200, {"Content-Type": req.headers["Content-Type"]} req.content, 200, {"Content-Type": req.headers["Content-Type"]}
) )
@ -1076,7 +1076,7 @@ def ID1_path(path):
@app.route("/ID1.xml") @app.route("/ID1.xml")
def ID1_xml(): def ID1_xml():
# Proxy to ID1 url # Proxy to ID1 url
req = requests.get("https://id1.woodburn.au/ID1.xml") req = requests.get("https://podcasts.c.woodburn.au/ID1.xml")
return make_response( return make_response(
req.content, 200, {"Content-Type": req.headers["Content-Type"]} req.content, 200, {"Content-Type": req.headers["Content-Type"]}
) )
@ -1084,7 +1084,7 @@ def ID1_xml():
@app.route("/podsync.opml") @app.route("/podsync.opml")
def podsync(): def podsync():
req = requests.get("https://id1.woodburn.au/podsync.opml") req = requests.get("https://podcasts.c.woodburn.au/podsync.opml")
return make_response( return make_response(
req.content, 200, {"Content-Type": req.headers["Content-Type"]} req.content, 200, {"Content-Type": req.headers["Content-Type"]}
) )