apply SPECIAL_EXTRACTORS only for blacklist settings

as was the case before 010d65dc
This commit is contained in:
Mike Fährmann 2022-01-06 21:09:30 +01:00
parent 37beb1298e
commit 6e0a6c484f
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -501,14 +501,15 @@ class DownloadJob(Job):
clist = self.extractor.config("whitelist")
if clist is not None:
negate = False
special = None
else:
clist = self.extractor.config("blacklist")
negate = True
special = util.SPECIAL_EXTRACTORS
if clist is None:
clist = (self.extractor.category,)
return util.build_extractor_filter(
clist, negate, util.SPECIAL_EXTRACTORS)
return util.build_extractor_filter(clist, negate, special)
class SimulationJob(DownloadJob):