summaryrefslogtreecommitdiffstats
path: root/gallery_dl/job.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/job.py')
-rw-r--r--gallery_dl/job.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gallery_dl/job.py b/gallery_dl/job.py
index 97a8d3f..3e72e9c 100644
--- a/gallery_dl/job.py
+++ b/gallery_dl/job.py
@@ -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):