Add missing cookies param on aria2c function recursion

This commit is contained in:
rlaphoenix 2023-06-01 00:40:13 +01:00
parent a01766c60b
commit 9aafa3d8df
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ async def aria2c(
# HTTPS proxies are not supported by aria2(c). # HTTPS proxies are not supported by aria2(c).
# Proxy the proxy via pproxy to access it as an HTTP proxy. # Proxy the proxy via pproxy to access it as an HTTP proxy.
async with start_pproxy(proxy) as pproxy_: 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] arguments += ["--all-proxy", proxy]
try: try: