add 'category-transfer' option
[ci skip]
This commit is contained in:
parent
9b8ac12eed
commit
277b52101a
@ -245,6 +245,17 @@ Description Default value used for missing or undefined keyword names in
|
||||
=========== =====
|
||||
|
||||
|
||||
extractor.*.category-transfer
|
||||
-----------------------------
|
||||
=========== =====
|
||||
Type ``bool``
|
||||
Default Extractor-specific
|
||||
Description Transfer an extractor's (sub)category values to all child
|
||||
extractors spawned by it, to let them inherit their parent's
|
||||
config options.
|
||||
=========== =====
|
||||
|
||||
|
||||
extractor.*.archive
|
||||
-------------------
|
||||
=========== =====
|
||||
|
@ -37,7 +37,8 @@ class Job():
|
||||
"chapter", [], False)
|
||||
|
||||
# category transfer
|
||||
if parent and parent.extractor.categorytransfer:
|
||||
if parent and parent.extractor.config(
|
||||
"category-transfer", parent.extractor.categorytransfer):
|
||||
self.extractor.category = parent.extractor.category
|
||||
self.extractor.subcategory = parent.extractor.subcategory
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user