diff --git a/core/files.py b/core/files.py index aaf9b13..8a0c5c0 100644 --- a/core/files.py +++ b/core/files.py @@ -71,7 +71,9 @@ async def get_remote_file( } async with httpx.AsyncClient(headers=headers) as client: - async with client.stream("GET", url, timeout=timeout) as stream: + async with client.stream( + "GET", url, timeout=timeout, follow_redirects=True + ) as stream: allow_download = max_size is None if max_size: try: