mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[postprocessor] Don't replace existing value with null metadata parsed from title
This commit is contained in:
		| @@ -40,6 +40,8 @@ class MetadataFromTitlePP(PostProcessor): | |||||||
|                 % self._titleformat) |                 % self._titleformat) | ||||||
|             return [], info |             return [], info | ||||||
|         for attribute, value in match.groupdict().items(): |         for attribute, value in match.groupdict().items(): | ||||||
|  |             if value is None: | ||||||
|  |                 continue | ||||||
|             info[attribute] = value |             info[attribute] = value | ||||||
|             self._downloader.to_screen( |             self._downloader.to_screen( | ||||||
|                 '[fromtitle] parsed %s: %s' |                 '[fromtitle] parsed %s: %s' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user