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

@@ -152,7 +152,7 @@ class NimeGami extends MProvider {
'//script[contains(text(), "eval") and contains(text(), "p,a,c,k,e,d")]/text()');
if (script.isNotEmpty) {
final videoUrl = substringBefore(
substringAfter(substringAfter(evalJs(script.first), "sources:[", ""),
substringAfter(substringAfter(unpackJs(script.first), "sources:[", ""),
"file\":\"", ""),
'"');
if (videoUrl.isNotEmpty) {