mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
-
This commit is contained in:
@@ -92,7 +92,6 @@ class AniZone extends MProvider {
|
|||||||
|
|
||||||
Future<MManga> getDetail(String url) async {
|
Future<MManga> getDetail(String url) async {
|
||||||
MManga anime = MManga();
|
MManga anime = MManga();
|
||||||
try {
|
|
||||||
final doc = (await client.get(Uri.parse(url))).body;
|
final doc = (await client.get(Uri.parse(url))).body;
|
||||||
final description = xpath(doc, '//p[contains(@class,"short")]/text()');
|
final description = xpath(doc, '//p[contains(@class,"short")]/text()');
|
||||||
anime.description = description.isNotEmpty ? description.first : "";
|
anime.description = description.isNotEmpty ? description.first : "";
|
||||||
@@ -149,9 +148,6 @@ class AniZone extends MProvider {
|
|||||||
anime.chapters = episodesList.reversed.toList();
|
anime.chapters = episodesList.reversed.toList();
|
||||||
|
|
||||||
return anime;
|
return anime;
|
||||||
} catch (e) {
|
|
||||||
throw Exception('Erreur lors de la récupération des détails: $e');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import '../../../../../model/source.dart';
|
import '../../../../../model/source.dart';
|
||||||
|
|
||||||
Source get aniZoneSource => _aniZoneSource;
|
Source get aniZoneSource => _aniZoneSource;
|
||||||
const _aniZoneVersion = "0.0.3";
|
const _aniZoneVersion = "0.0.35";
|
||||||
const _aniZoneSourceCodeUrl =
|
const _aniZoneSourceCodeUrl =
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/anizone/anizone.dart";
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/anizone/anizone.dart";
|
||||||
Source _aniZoneSource = Source(
|
Source _aniZoneSource = Source(
|
||||||
|
|||||||
Reference in New Issue
Block a user