From 9aafa3d8df677fbb28cb7183701b9459380f82bf Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Thu, 1 Jun 2023 00:40:13 +0100 Subject: [PATCH] Add missing cookies param on aria2c function recursion --- devine/core/downloaders/aria2c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devine/core/downloaders/aria2c.py b/devine/core/downloaders/aria2c.py index 55f883e..4ea1622 100644 --- a/devine/core/downloaders/aria2c.py +++ b/devine/core/downloaders/aria2c.py @@ -102,7 +102,7 @@ async def aria2c( # HTTPS proxies are not supported by aria2(c). # Proxy the proxy via pproxy to access it as an HTTP proxy. async with start_pproxy(proxy) as pproxy_: - return await aria2c(uri, out, headers, pproxy_, silent, segmented, progress, *args) + return await aria2c(uri, out, headers, cookies, pproxy_, silent, segmented, progress, *args) arguments += ["--all-proxy", proxy] try: