summaryrefslogtreecommitdiffstats
path: root/gallery_dl/job.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-01-08 20:39:28 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2022-01-08 20:39:28 -0500
commit8de58070ee3e55f29966a787fd618632dbf4309b (patch)
treec140f8a0f97445413a1681424cc93308592070c4 /gallery_dl/job.py
parent7bc30b43b70556630b4a93c03fefc0d888e3d19f (diff)
New upstream version 1.20.1.upstream/1.20.1
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):