mirror of
https://github.com/yoyzo/arab
synced 2024-08-15 03:15:00 +00:00
Update MovizlandProvider.kt
This commit is contained in:
parent
291e405d3c
commit
1f548aac79
1 changed files with 2 additions and 2 deletions
|
@ -35,10 +35,10 @@ class Movizland : MainAPI() {
|
||||||
this.let{ clean ->
|
this.let{ clean ->
|
||||||
var aa = clean
|
var aa = clean
|
||||||
prefix.forEach{ pre ->
|
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
|
var bb = aa
|
||||||
suffix.mapNotNull{ suf ->
|
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
|
return bb
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue