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

@@ -94,12 +94,12 @@ class _8musesAlbumExtractor(Extractor):
if albums:
for album in albums:
url = self.root + "/comics/album/" + album["permalink"]
album = {
"url" : url,
"name" : album["name"],
"private": album["isPrivate"],
yield Message.Queue, url, {
"url" : url,
"name" : album["name"],
"private" : album["isPrivate"],
"_extractor": _8musesAlbumExtractor,
}
yield Message.Queue, url, album
if data["page"] >= data["pages"]:
return