diff --git a/gallery_dl/extractor/common.py b/gallery_dl/extractor/common.py index 5e877005..cfdac3ed 100644 --- a/gallery_dl/extractor/common.py +++ b/gallery_dl/extractor/common.py @@ -72,6 +72,10 @@ class Extractor(): 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 8d1849ca..7d08b86d 100644 --- a/gallery_dl/job.py +++ b/gallery_dl/job.py @@ -417,7 +417,7 @@ class DownloadJob(Job): 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 = []