This commit is contained in:
kodjomoustapha
2024-01-08 16:42:17 +01:00
parent 3a8a7b5400
commit 6a1c94dfe3
8 changed files with 9 additions and 45 deletions

View File

@@ -106,7 +106,7 @@ class AnimeSama extends MProvider {
@override
Future<MManga> getDetail(MSource source, String url) async {
var animeUrl =
"${source.baseUrl}${substringBeforeLast(Uri.parse(url).path, "/")}";
"${source.baseUrl}${substringBeforeLast(getUrlWithoutDomain(url), "/")}";
var movie =
int.tryParse(url.split("#").length >= 2 ? url.split("#")[1] : "");
List<Map<String, dynamic>> playersList = [];