mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 03:44:49 +00:00 
			
		
		
		
	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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user