From 47340dfdb4e7029e79dbc980be0d57be6b7748e8 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Sat, 25 May 2024 19:57:26 +0200 Subject: [PATCH] add string interpolation --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index b2f4b4d..41bf62c 100644 --- a/bot.py +++ b/bot.py @@ -53,7 +53,7 @@ class CustomClient(discord.Client): timeout=aiohttp.ClientTimeout(total=5) ) as session: resp = await session.head( - "https://stream.purser.it/{stripped}/?provider=seafile&raw=true", + f"https://stream.purser.it/{stripped}/?provider=seafile&raw=true", allow_redirects=True, ) raw = str(