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; .body;
MManga manga = MManga(); MManga manga = MManga();
manga.author = jsonPathToString(res, r'$.authors[*].name', ''); 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.description = jsonPathToString(res, r'$..desc', '');
manga.status = manga.status =
parseStatus(jsonPathToString(res, r'$..comic.status', ''), statusList); parseStatus(jsonPathToString(res, r'$..comic.status', ''), statusList);

View File

@@ -1,6 +1,6 @@
import '../../../../model/source.dart'; import '../../../../model/source.dart';
const _comickVersion = "0.0.55"; const _comickVersion = "0.0.6";
const _comickSourceCodeUrl = const _comickSourceCodeUrl =
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/manga/src/all/comick/comick.dart"; "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/manga/src/all/comick/comick.dart";