mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[downloader] Pass info_dict to progress_hooks
				
					
				
			This commit is contained in:
		| @@ -140,7 +140,7 @@ class YoutubeLiveChatFD(FragmentFD): | ||||
|                 self.report_error('giving up after %s fragment retries' % fragment_retries) | ||||
|                 return False, None, None, None | ||||
|  | ||||
|         self._prepare_and_start_frag_download(ctx) | ||||
|         self._prepare_and_start_frag_download(ctx, info_dict) | ||||
|  | ||||
|         success, raw_fragment = dl_fragment(info_dict['url']) | ||||
|         if not success: | ||||
| @@ -196,7 +196,7 @@ class YoutubeLiveChatFD(FragmentFD): | ||||
|             if test: | ||||
|                 break | ||||
|  | ||||
|         self._finish_frag_download(ctx) | ||||
|         self._finish_frag_download(ctx, info_dict) | ||||
|         return True | ||||
|  | ||||
|     @staticmethod | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan