[job] add 'keywords-global' option (#6582)
https://github.com/mikf/gallery-dl/issues/6582#issuecomment-3505732704
This commit is contained in:
@@ -87,6 +87,8 @@ class Job():
|
||||
"current_git_head": util.git_head()
|
||||
}
|
||||
# user-supplied metadata
|
||||
if kwdict := extr.config("keywords-global"):
|
||||
self.kwdict.update(kwdict)
|
||||
if kwdict := extr.config("keywords"):
|
||||
if extr.config("keywords-eval"):
|
||||
self.kwdict_eval = []
|
||||
|
||||
Reference in New Issue
Block a user