mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 02:16:51 +01:00
[postprocessor] Don't replace existing value with null metadata parsed from title
This commit is contained in:
parent
d231b56717
commit
e52e8b8111
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user