1
Fork 0

Follow redirects, if there are any

This commit is contained in:
Jake Howard 2024-10-22 21:56:26 +01:00
parent 62c2f929d6
commit c1fd2d4afc
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -5,7 +5,7 @@ from starlette.requests import Request
from starlette.responses import Response from starlette.responses import Response
from starlette.routing import Route from starlette.routing import Route
client = AsyncClient() client = AsyncClient(follow_redirects=True)
FEED_URL = "https://lwn.net/headlines/rss" FEED_URL = "https://lwn.net/headlines/rss"