mirror of
https://github.com/yoyzo/arab
synced 2024-08-15 03:15:00 +00:00
pls work
This commit is contained in:
parent
36744a22a3
commit
a50fcc8cf5
4 changed files with 11 additions and 4 deletions
|
@ -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>()
|
||||
|
|
|
@ -5,6 +5,7 @@ import com.lagradost.cloudstream3.*
|
|||
import com.lagradost.cloudstream3.LoadResponse.Companion.addActors
|
||||
import com.lagradost.cloudstream3.utils.AppUtils.parseJson
|
||||
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||
import com.lagradost.cloudstream3.utils.loadExtractor
|
||||
import org.jsoup.Jsoup
|
||||
import org.jsoup.nodes.Element
|
||||
|
||||
|
@ -308,8 +309,12 @@ class MyCima : MainAPI() {
|
|||
subtitleCallback: (SubtitleFile) -> Unit,
|
||||
callback: (ExtractorLink) -> Unit
|
||||
): Boolean {
|
||||
app.get(data).document
|
||||
.select("ul.List--Download--Mycima--Single:nth-child(2) li").map {
|
||||
val doc = app.get(data).document
|
||||
doc.select(".WatchServersList > ul > li").apmap {
|
||||
val url = it.select("btn").attr("data-url")
|
||||
loadExtractor(url, data, subtitleCallback, callback)
|
||||
}
|
||||
doc.select("ul.List--Download--Mycima--Single:nth-child(2) li").apmap {
|
||||
it.select("a").map { linkElement ->
|
||||
callback.invoke(
|
||||
ExtractorLink(
|
||||
|
|
|
@ -53,7 +53,7 @@ open class JWPlayer : ExtractorApi() {
|
|||
)
|
||||
|
||||
}
|
||||
class VidHD : JWPlayer() {
|
||||
class VidHDJW : JWPlayer() {
|
||||
override val name = "VidHD"
|
||||
override val mainUrl = "https://vidhd.fun"
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@ import android.content.Context
|
|||
class Shahid4uPlugin: Plugin() {
|
||||
override fun load(context: Context) {
|
||||
registerMainAPI(Shahid4u())
|
||||
registerExtractorAPI(VidHDJW())
|
||||
registerExtractorAPI(VidHD())
|
||||
registerExtractorAPI(GoStream())
|
||||
registerExtractorAPI(Vidbom())
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue