Follow redirects, if there are any
This commit is contained in:
parent
62c2f929d6
commit
c1fd2d4afc
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue