Implement version-metadata option (#3201)

This commit is contained in:
ClosedPort22
2022-11-27 23:09:42 +08:00
committed by GitHub
parent a6305d031c
commit b14b33f19e
2 changed files with 30 additions and 1 deletions

View File

@@ -605,6 +605,27 @@ Description
and its parsed form as ``"{gdl_http[date]}"``.
extractor.*.version-metadata
----------------------------
Type
``string``
Default
``null``
Description
Insert an ``object`` containing gallery-dl's version info into
metadata dictionaries as the given name.
The content of the object is as follows:
.. code:: json
{
"version" : "string",
"is_executable" : "bool",
"current_git_head": "string or null"
}
extractor.*.category-transfer
-----------------------------
Type