add status and tags info to mangadex extractor
This commit is contained in:
@@ -83,8 +83,12 @@ class MangadexExtractor(Extractor):
|
|||||||
data["author"] = [author["attributes"]["name"]
|
data["author"] = [author["attributes"]["name"]
|
||||||
for author in relationships["author"]]
|
for author in relationships["author"]]
|
||||||
data["group"] = [group["attributes"]["name"]
|
data["group"] = [group["attributes"]["name"]
|
||||||
for group in relationships["scanlation_group"]]
|
for group in relationships["scanlation_group"]]
|
||||||
|
|
||||||
|
data["status"] = mattributes["status"]
|
||||||
|
data["tags"] = [tag["attributes"]["name"]["en"]
|
||||||
|
for tag in mattributes["tags"]]
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user