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 // use an integer for version numbers
version = 1 version = 2
cloudstream { cloudstream {

View file

@ -4,6 +4,8 @@ import com.fasterxml.jackson.annotation.JsonProperty
import com.lagradost.cloudstream3.* import com.lagradost.cloudstream3.*
import com.lagradost.cloudstream3.LoadResponse.Companion.addActors import com.lagradost.cloudstream3.LoadResponse.Companion.addActors
import com.lagradost.cloudstream3.LoadResponse.Companion.addTrailer 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 com.lagradost.cloudstream3.utils.*
import org.jsoup.nodes.Element import org.jsoup.nodes.Element
@ -178,3 +180,23 @@ class Cinemathek : MainAPI() {
) )
} }
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) { override fun load(context: Context) {
// All providers should be added in this manner. Please don't edit the providers list directly. // All providers should be added in this manner. Please don't edit the providers list directly.
registerMainAPI(Cinemathek()) registerMainAPI(Cinemathek())
registerExtractorAPI(StreamwishCom())
registerExtractorAPI(Ds2play())
registerExtractorAPI(Do0od())
registerExtractorAPI(Filelions())
} }
} }