add missing extractor info when spawning new ones (fixes #1051)

Not having this information causes the blacklist/whitelist logic to
trigger and prevents things from functioning as intended when using
default settings.

Fixes issues for 8muses, deviantart, exhentai, and mangoxo.
This commit is contained in:
Mike Fährmann
2020-10-07 23:40:09 +02:00
parent f9c1684af7
commit 3ebb174f2c
4 changed files with 18 additions and 12 deletions

View File

@@ -392,6 +392,7 @@ class ExhentaiSearchExtractor(ExhentaiExtractor):
def items(self):
self.login()
yield Message.Version, 1
data = {"_extractor": ExhentaiGalleryExtractor}
while True:
last = None
@@ -402,7 +403,7 @@ class ExhentaiSearchExtractor(ExhentaiExtractor):
if url == last:
continue
last = url
yield Message.Queue, url, {}
yield Message.Queue, url, data
if 'class="ptdd">&gt;<' in page or ">No hits found</p>" in page:
return