This commit is contained in:
Moustapha Kodjo Amadou
2025-05-11 13:27:05 +01:00
parent 6fc11c8a31
commit efb20de6e3
2 changed files with 52 additions and 56 deletions

View File

@@ -92,7 +92,6 @@ class AniZone extends MProvider {
Future<MManga> getDetail(String url) async {
MManga anime = MManga();
try {
final doc = (await client.get(Uri.parse(url))).body;
final description = xpath(doc, '//p[contains(@class,"short")]/text()');
anime.description = description.isNotEmpty ? description.first : "";
@@ -149,9 +148,6 @@ class AniZone extends MProvider {
anime.chapters = episodesList.reversed.toList();
return anime;
} catch (e) {
throw Exception('Erreur lors de la récupération des détails: $e');
}
}
@override

View File

@@ -1,7 +1,7 @@
import '../../../../../model/source.dart';
Source get aniZoneSource => _aniZoneSource;
const _aniZoneVersion = "0.0.3";
const _aniZoneVersion = "0.0.35";
const _aniZoneSourceCodeUrl =
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/anizone/anizone.dart";
Source _aniZoneSource = Source(