From 2aba46e983b98bcebbe27803fe62dc2eeabed076 Mon Sep 17 00:00:00 2001 From: kodjomoustapha <107993382+kodjodevf@users.noreply.github.com> Date: Fri, 26 Jan 2024 09:15:04 +0100 Subject: [PATCH] Fix ComickFun get genres --- manga/src/all/comick/comick.dart | 4 +++- manga/src/all/comick/sources.dart | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/manga/src/all/comick/comick.dart b/manga/src/all/comick/comick.dart index 76520e7e..10304767 100644 --- a/manga/src/all/comick/comick.dart +++ b/manga/src/all/comick/comick.dart @@ -124,7 +124,9 @@ class ComickFun extends MProvider { .body; MManga manga = MManga(); manga.author = jsonPathToString(res, r'$.authors[*].name', ''); - manga.genre = jsonPathToString(res, r'$.genres[*].name', "_.").split("_."); + manga.genre = jsonPathToString( + res, r'$.comic.md_comic_md_genres[*].md_genres.name', "_.") + .split("_."); manga.description = jsonPathToString(res, r'$..desc', ''); manga.status = parseStatus(jsonPathToString(res, r'$..comic.status', ''), statusList); diff --git a/manga/src/all/comick/sources.dart b/manga/src/all/comick/sources.dart index 97935c06..1e3a66aa 100644 --- a/manga/src/all/comick/sources.dart +++ b/manga/src/all/comick/sources.dart @@ -1,6 +1,6 @@ import '../../../../model/source.dart'; -const _comickVersion = "0.0.55"; +const _comickVersion = "0.0.6"; const _comickSourceCodeUrl = "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/manga/src/all/comick/comick.dart";