This commit is contained in:
kodjomoustapha
2024-09-26 09:18:49 +01:00
parent bb0449b7ce
commit 13839b5ef6
3 changed files with 15 additions and 14 deletions

View File

@@ -10,6 +10,7 @@ import 'src/en/animepahe/source.dart';
import 'src/en/dramacool/source.dart';
import 'src/en/gogoanime/source.dart';
import 'src/en/nineanimetv/source.dart';
import 'src/fr/anizone/source.dart';
import 'src/fr/animesama/source.dart';
import 'src/hi/yomovies/source.dart';
import 'src/en/kisskh/source.dart';
@@ -50,5 +51,5 @@ List<Source> dartAnimesourceList = [
animepaheSource,
animetoast,
animesvision,
diziwatchSource
diziwatchSource,aniZoneSource
];

View File

@@ -57,7 +57,6 @@ class AniZone extends MProvider {
@override
Future<MPages> search(String query, int page, FilterList filterList) async {
List<MManga> animeList = [];
String baseUrl = "${source.baseUrl}/filter?keyword=$query";
Map<String, List<String>> filterMap = {
@@ -186,7 +185,8 @@ class AniZone extends MProvider {
final playerUrl = "https://voe.sx/e/${links[j]}";
videoList.add({"lang": lang[j], "player": playerUrl});
} else if (name_players.isNotEmpty && name_players[j] == "Fmoon") {
final playerUrl = "https://filemoon.sx/e/${links[j]}&data-realid=${links[j]}&epid=${videoMatch.group(1)}";
final playerUrl =
"https://filemoon.sx/e/${links[j]}&data-realid=${links[j]}&epid=${videoMatch.group(1)}";
videoList.add({"lang": lang[j], "player": playerUrl});
}
}
@@ -219,7 +219,7 @@ class AniZone extends MProvider {
} else if (playerUrl.contains("vidcdn")) {
a = await vidcdnExtractor(playerUrl, lang);
} else if (playerUrl.contains("filemoon")) {
a = await filemoonExtractor(playerUrl, lang,"");
a = await filemoonExtractor(playerUrl, lang, "");
}
videos.addAll(a);
}

View File

@@ -1,16 +1,16 @@
import '../../../../../model/source.dart';
Source get _AniZoneSource => _AniZoneSource;
const _AniZoneVersion = "0.0.1";
const _AniZoneSourceCodeUrl =
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/AniZone/AniZone.dart";
Source _AniZoneSource = Source(
name: "AniZone",
Source get aniZoneSource => _aniZoneSource;
const _aniZoneVersion = "0.0.1";
const _aniZoneSourceCodeUrl =
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/anizone/anizone.dart";
Source _aniZoneSource = Source(
name: "aniZone",
baseUrl: "https://v1.animesz.xyz",
lang: "fr",
typeSource: "single",
iconUrl:
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/AniZone/icon.png",
sourceCodeUrl: _AniZoneSourceCodeUrl,
version: _AniZoneVersion,
isManga: false);
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/anizone/icon.png",
sourceCodeUrl: _aniZoneSourceCodeUrl,
version: _aniZoneVersion,
isManga: false);