aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/job.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-01-08 20:39:38 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2022-01-08 20:39:38 -0500
commite79415947da81787fbcbdbf0447d6fa0ecea166a (patch)
treec96811360f1816db1db38a64c6c65ddb7e03ece6 /gallery_dl/job.py
parent4339ea5f5c0105d112c88fd07581115d7fb4f2a3 (diff)
parent8de58070ee3e55f29966a787fd618632dbf4309b (diff)
Update upstream source from tag 'upstream/1.20.1'
Update to upstream version '1.20.1' with Debian dir bfa6a049d7c503377f35ac76efd1ede7feb78f6a
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):