From 13dedae09f768ca3be66a5d1119a558fe7964119 Mon Sep 17 00:00:00 2001 From: Janne Alaranta Date: Sun, 7 May 2023 18:35:02 +0300 Subject: [PATCH] add status and tags info to mangadex extractor --- gallery_dl/extractor/mangadex.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/mangadex.py b/gallery_dl/extractor/mangadex.py index 409483b4..05390811 100644 --- a/gallery_dl/extractor/mangadex.py +++ b/gallery_dl/extractor/mangadex.py @@ -83,8 +83,12 @@ class MangadexExtractor(Extractor): data["author"] = [author["attributes"]["name"] for author in relationships["author"]] 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