Fix ComickFun get genres

This commit is contained in:
kodjomoustapha
2024-01-26 09:15:04 +01:00
parent f95676109a
commit 2aba46e983
2 changed files with 4 additions and 2 deletions

View File

@@ -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);

View File

@@ -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";