add '-O/--postprocessor-option' command-line option (#3565)

This commit is contained in:
Mike Fährmann
2023-01-26 14:59:24 +01:00
parent c8fdd5096e
commit f58215705a
5 changed files with 54 additions and 9 deletions

View File

@@ -796,6 +796,24 @@ Description
for each downloaded ``pixiv`` file.
extractor.*.postprocessor-options
---------------------------------
Type
``object`` (`name` -> `value`)
Example
.. code:: json
{
"archive": null,
"keep-files": true
}
Description
Additional `Postprocessor Options`_ that get added to each individual
`post processor object <Postprocessor Configuration_>`__
before initializing it and evaluating filters.
extractor.*.retries
-------------------
Type

View File

@@ -119,3 +119,6 @@
successfully. Example: --exec-after "cd {} &&
convert * ../doc.pdf"
-P, --postprocessor NAME Activate the specified post processor
-O, --postprocessor-option OPT
Additional '<key>=<value>' post processor
options