forked from DRMTalks/devine
Add missing cookies param on aria2c function recursion
This commit is contained in:
parent
a01766c60b
commit
9aafa3d8df
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue