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

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2014-2022 Mike Fährmann
# Copyright 2014-2023 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -72,6 +72,8 @@ def main():
else:
profile, _, container = profile.partition("::")
config.set((), "cookies", (browser, profile, keyring, container))
if args.options_pp:
config.set((), "postprocessor-options", args.options_pp)
for opts in args.options:
config.set(*opts)