From 6ecb710a7ff15cd1b11824c7feb32aa88a988c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 5 Jun 2021 03:14:34 +0200 Subject: [PATCH] add '-P/--postprocessor' command-line option --- gallery_dl/option.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gallery_dl/option.py b/gallery_dl/option.py index b1469452..52a9e697 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -392,6 +392,11 @@ def build_parser(): help=("Execute CMD after all files were downloaded successfully. " "Example: --exec-after 'cd {} && convert * ../doc.pdf'"), ) + postprocessor.add_argument( + "-P", "--postprocessor", + dest="postprocessors", metavar="NAME", action="append", + help="Activate the specified post processor", + ) parser.add_argument( "urls",