2
1
Fork 1
mirror of https://github.com/yoyzo/arab synced 2024-08-15 03:15:00 +00:00

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

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
}
}