mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Cinemathek: fix loadLink
This commit is contained in:
parent
f79dc0209d
commit
9b29695328
3 changed files with 27 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 1
|
||||
version = 2
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -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"
|
||||
}
|
|
@ -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())
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue