enable 'metadata-url/-path/-parent/-extractor]' by default
assign values to "private" keys to not have them appear in the standard JSON output, while still making it easier to access them
This commit is contained in:
@@ -253,7 +253,10 @@ Type
|
||||
* ``bool``
|
||||
* ``string``
|
||||
Default
|
||||
`extractor.parent <extractor.*.parent_>`__
|
||||
``true``
|
||||
`extractor.parent <extractor.*.parent_>`__
|
||||
``"_parent"``
|
||||
otherwise
|
||||
Description
|
||||
Forward a parent's metadata to its child extractors.
|
||||
|
||||
@@ -1089,6 +1092,8 @@ extractor.*.metadata-url
|
||||
------------------------
|
||||
Type
|
||||
``string``
|
||||
Default
|
||||
``"_url"``
|
||||
Description
|
||||
Insert a file's download URL into its metadata dictionary as the given name.
|
||||
|
||||
@@ -1105,6 +1110,8 @@ extractor.*.metadata-path
|
||||
-------------------------
|
||||
Type
|
||||
``string``
|
||||
Default
|
||||
``"_path"``
|
||||
Description
|
||||
Insert a reference to the current
|
||||
`PathFormat <https://github.com/mikf/gallery-dl/blob/v1.27.0/gallery_dl/path.py#L27>`__
|
||||
@@ -1120,6 +1127,8 @@ extractor.*.metadata-extractor
|
||||
------------------------------
|
||||
Type
|
||||
``string``
|
||||
Default
|
||||
``"_extr"``
|
||||
Description
|
||||
Insert a reference to the current
|
||||
`Extractor <https://github.com/mikf/gallery-dl/blob/v1.27.0/gallery_dl/extractor/common.py#L28>`__
|
||||
@@ -1132,6 +1141,8 @@ extractor.*.metadata-http
|
||||
-------------------------
|
||||
Type
|
||||
``string``
|
||||
Default
|
||||
``null``
|
||||
Description
|
||||
Insert an ``object`` containing a file's HTTP headers and
|
||||
``filename``, ``extension``, and ``date`` parsed from them
|
||||
@@ -1148,6 +1159,8 @@ extractor.*.metadata-version
|
||||
----------------------------
|
||||
Type
|
||||
``string``
|
||||
Default
|
||||
``null``
|
||||
Description
|
||||
Insert an ``object`` containing gallery-dl's version info into
|
||||
metadata dictionaries as the given name.
|
||||
|
||||
@@ -71,11 +71,11 @@
|
||||
"path-convert" : null,
|
||||
"path-extended": true,
|
||||
|
||||
"metadata-extractor": null,
|
||||
"metadata-extractor": "_extr",
|
||||
"metadata-parent" : "_parent",
|
||||
"metadata-path" : "_path",
|
||||
"metadata-url" : "_url",
|
||||
"metadata-http" : null,
|
||||
"metadata-parent" : null,
|
||||
"metadata-path" : null,
|
||||
"metadata-url" : null,
|
||||
"metadata-version" : null,
|
||||
|
||||
"sleep" : 0,
|
||||
|
||||
Reference in New Issue
Block a user