Cinemathek: fix loadLink

This commit is contained in:
alex 2024-01-16 04:50:32 +07:00
parent f79dc0209d
commit 9b29695328
3 changed files with 27 additions and 1 deletions

View File

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 1
version = 2
cloudstream {

View File

@ -4,6 +4,8 @@ import com.fasterxml.jackson.annotation.JsonProperty
import com.lagradost.cloudstream3.*
import com.lagradost.cloudstream3.LoadResponse.Companion.addActors
import com.lagradost.cloudstream3.LoadResponse.Companion.addTrailer
import com.lagradost.cloudstream3.extractors.DoodLaExtractor
import com.lagradost.cloudstream3.extractors.Filesim
import com.lagradost.cloudstream3.utils.*
import org.jsoup.nodes.Element
@ -177,4 +179,24 @@ class Cinemathek : MainAPI() {
@JsonProperty("embed_url") val embedUrl: String,
)
}
class StreamwishCom : Filesim() {
override val name = "Streamwish"
override var mainUrl = "https://streamwish.com"
}
class Ds2play : DoodLaExtractor() {
override var name = "Ds2play"
override var mainUrl = "https://ds2play.com"
}
class Do0od : DoodLaExtractor() {
override var name = "Do0od"
override var mainUrl = "https://do0od.com"
}
class Filelions : Filesim() {
override val name = "Filelions"
override var mainUrl = "https://filelions.live"
}

View File

@ -10,5 +10,9 @@ class CinemathekPlugin: Plugin() {
override fun load(context: Context) {
// All providers should be added in this manner. Please don't edit the providers list directly.
registerMainAPI(Cinemathek())
registerExtractorAPI(StreamwishCom())
registerExtractorAPI(Ds2play())
registerExtractorAPI(Do0od())
registerExtractorAPI(Filelions())
}
}