mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	Basic framework for simultaneous download of multiple formats (#1036)
Authored by: nao20010128nao
This commit is contained in:
		 The Hatsune Daishi
					The Hatsune Daishi
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							c12977bdc4
						
					
				
				
					commit
					bd50a52b0d
				
			| @@ -310,6 +310,7 @@ class HttpFD(FileDownloader): | ||||
|                     'eta': eta, | ||||
|                     'speed': speed, | ||||
|                     'elapsed': now - ctx.start_time, | ||||
|                     'ctx_id': info_dict.get('ctx_id'), | ||||
|                 }, info_dict) | ||||
|  | ||||
|                 if data_len is not None and byte_counter == data_len: | ||||
| @@ -357,6 +358,7 @@ class HttpFD(FileDownloader): | ||||
|                 'filename': ctx.filename, | ||||
|                 'status': 'finished', | ||||
|                 'elapsed': time.time() - ctx.start_time, | ||||
|                 'ctx_id': info_dict.get('ctx_id'), | ||||
|             }, info_dict) | ||||
|  | ||||
|             return True | ||||
|   | ||||
		Reference in New Issue
	
	Block a user