feat: Aniwave (EN): add Video extractors

This commit is contained in:
kodjomoustapha
2023-12-27 20:41:52 +01:00
parent 14b924cd9d
commit 694c8a8b99
6 changed files with 121 additions and 9 deletions

View File

@@ -362,7 +362,7 @@ class OtakuFr extends MProvider {
return [];
}
final masterUrl =
substringBefore(substringAfter(evalJs(js.first), "{file:\""), "\"}");
substringBefore(substringAfter(unpackJs(js.first), "{file:\""), "\"}");
final masterPlaylistRes =
await http('GET', json.encode({"url": masterUrl}));
List<MVideo> videos = [];