mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	[aria2c] Lower --min-split-size for HTTP downloads
				
					
				
			This makes downloading smaller files much faster
This commit is contained in:
		@@ -280,6 +280,8 @@ class Aria2cFD(ExternalFD):
 | 
			
		||||
               '--file-allocation=none', '-x16', '-j16', '-s16']
 | 
			
		||||
        if 'fragments' in info_dict:
 | 
			
		||||
            cmd += ['--allow-overwrite=true', '--allow-piece-length-change=true']
 | 
			
		||||
        else:
 | 
			
		||||
            cmd += ['--min-split-size', '1M']
 | 
			
		||||
 | 
			
		||||
        if info_dict.get('http_headers') is not None:
 | 
			
		||||
            for key, val in info_dict['http_headers'].items():
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user