diff --git a/gallery_dl/extractor/common.py b/gallery_dl/extractor/common.py index 5e8770050e..cfdac3ed47 100644 --- a/gallery_dl/extractor/common.py +++ b/gallery_dl/extractor/common.py @@ -72,6 +72,10 @@ def config(self, key, default=None): return config.interpolate( ("extractor", self.category, self.subcategory), key, default) + def config_accumulate(self, key): + return config.accumulate( + ("extractor", self.category, self.subcategory), key) + def request(self, url, *, method="GET", session=None, retries=None, encoding=None, fatal=True, notfound=None, **kwargs): tries = 1 diff --git a/gallery_dl/job.py b/gallery_dl/job.py index 8d1849caa3..7d08b86d55 100644 --- a/gallery_dl/job.py +++ b/gallery_dl/job.py @@ -417,7 +417,7 @@ def initialize(self, kwdict=None): else: self.extractor.log.debug("Using download archive '%s'", path) - postprocessors = config("postprocessors") + postprocessors = self.extractor.config_accumulate("postprocessors") if postprocessors: pp_log = self.get_logger("postprocessor") pp_list = []