From 209a3c800871cd68edd2bc7ae661a24ecd496d2d Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 13 Nov 2020 19:17:03 -0500 Subject: New upstream version 1.15.3. --- gallery_dl/extractor/common.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gallery_dl/extractor/common.py') diff --git a/gallery_dl/extractor/common.py b/gallery_dl/extractor/common.py index 357deac..5efea4a 100644 --- a/gallery_dl/extractor/common.py +++ b/gallery_dl/extractor/common.py @@ -518,6 +518,15 @@ class SharedConfigMixin(): ), key, default, ) + def config_accumulate(self, key): + values = config.accumulate(self._cfgpath, key) + + conf = config.get(("extractor",), self.basecategory) + if conf: + values[:0] = config.accumulate((self.subcategory,), key, conf=conf) + + return values + def generate_extractors(extractor_data, symtable, classes): """Dynamically generate Extractor classes""" -- cgit v1.2.3