2
1
Fork 1
mirror of https://github.com/yoyzo/arab synced 2024-08-15 03:15:00 +00:00
This commit is contained in:
Zaw 2023-02-15 22:45:47 +03:00
parent 36744a22a3
commit a50fcc8cf5
4 changed files with 11 additions and 4 deletions

View file

@ -1,6 +1,7 @@
package com.movizland
import android.annotation.SuppressLint
import com.lagradost.cloudstream3.*
import com.lagradost.cloudstream3.LoadResponse.Companion.addTrailer
import com.lagradost.cloudstream3.utils.ExtractorLink
@ -71,6 +72,7 @@ class Movizland : MainAPI() {
return newHomePageResponse(request.name, list)
}
@SuppressLint("SuspiciousIndentation")
override suspend fun search(query: String): List<SearchResponse> {
val q = query.replace(" ".toRegex(), "%20")
val result = arrayListOf<SearchResponse>()