Update MovizlandProvider.kt

This commit is contained in:
Lazycoder 2022-10-26 18:04:05 +02:00 committed by GitHub
parent 291e405d3c
commit 1f548aac79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -35,10 +35,10 @@ class Movizland : MainAPI() {
this.let{ clean ->
var aa = clean
prefix.forEach{ pre ->
aa = if (aa.startsWith(pre)) aa.replace(pre,"") else aa }
aa = if (aa.contains(pre)) aa.replace(pre,"") else aa }
var bb = aa
suffix.mapNotNull{ suf ->
bb = if (bb.endsWith(suf)) bb.replace(suf,"") else bb }
bb = if (bb.contains(suf)) bb.replace(suf,"") else bb }
return bb
}
}