From c1fd2d4afc50dc4ec32cf1088b3dc36aad484c98 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 22 Oct 2024 21:56:26 +0100 Subject: [PATCH] Follow redirects, if there are any --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b9bea58..5beab2a 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ from starlette.requests import Request from starlette.responses import Response from starlette.routing import Route -client = AsyncClient() +client = AsyncClient(follow_redirects=True) FEED_URL = "https://lwn.net/headlines/rss"