1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-18 08:16:10 +00:00

[postprocessor] Don't replace existing value with null metadata parsed from title

This commit is contained in:
dirkf 2022-08-15 16:45:04 +01:00 committed by Bartosz Białas
parent 27281eb5bb
commit 6b98eb46fc

View file

@ -40,6 +40,8 @@ class MetadataFromTitlePP(PostProcessor):
% self._titleformat)
return [], info
for attribute, value in match.groupdict().items():
if value is None:
continue
info[attribute] = value
self._downloader.to_screen(
'[fromtitle] parsed %s: %s'