From b47676cc86758964bb9feb5a4ebcccc97ae7ef02 Mon Sep 17 00:00:00 2001 From: Goldy <153996346+g0ldyy@users.noreply.github.com> Date: Sun, 21 Jul 2024 16:20:00 +0200 Subject: [PATCH] fix: wtf --- comet/api/stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comet/api/stream.py b/comet/api/stream.py index c02148c..4e2670e 100644 --- a/comet/api/stream.py +++ b/comet/api/stream.py @@ -417,7 +417,7 @@ async def playback(request: Request, b64config: str, hash: str, index: str): end = int(end) if end else "" range = f"bytes={start}-{end}" - async with await session.get( + async with session.get( download_link, headers={"Range": range}, proxy=proxy ) as response: if response.status == 206: