mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 04:27:07 -05:00 
			
		
		
		
	Add new field "extractor" to the info dictionary
This commit is contained in:
		@@ -474,8 +474,8 @@ class FileDownloader(object):
 | 
			
		||||
				# Extract information from URL and process it
 | 
			
		||||
				videos = ie.extract(url)
 | 
			
		||||
				for video in videos or []:
 | 
			
		||||
					video['extractor'] = ie.IE_NAME
 | 
			
		||||
					try:
 | 
			
		||||
						video['provider'] = ie.IE_NAME
 | 
			
		||||
						self.increment_downloads()
 | 
			
		||||
						self.process_info(video)
 | 
			
		||||
					except UnavailableVideoError:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user