diff --git a/src/cogs/election.py b/src/cogs/election.py index 98437bc..7249c9b 100644 --- a/src/cogs/election.py +++ b/src/cogs/election.py @@ -97,7 +97,7 @@ class ElectionCog(commands.Cog): """Gets the current election results""" await ctx.defer() async with httpx.AsyncClient(headers=self.HEADERS) as client: - response = await client.get(self.SOURCE) + response = await client.get(self.SOURCE, follow_redirects=True) if response.status_code != 200: return await ctx.respond( "Sorry, I can't do that right now (HTTP %d while fetching results from BBC)" % response.status_code