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:
@@ -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">><' in page or ">No hits found</p>" in page:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user