mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fix marin in anichi and added Nodrakorid
This commit is contained in:
parent
031aa780c9
commit
bf9d2d5c31
7 changed files with 34 additions and 35 deletions
|
@ -5,7 +5,7 @@ import com.lagradost.cloudstream3.utils.ExtractorLink
|
|||
import com.lagradost.cloudstream3.utils.httpsify
|
||||
import com.lagradost.cloudstream3.utils.loadExtractor
|
||||
|
||||
class DutaMovie : Gomov() {
|
||||
open class DutaMovie : Gomov() {
|
||||
override var mainUrl = "https://dutamovie21.live"
|
||||
override var name = "DutaMovie"
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ class GomovPlugin: Plugin() {
|
|||
registerMainAPI(Gomov())
|
||||
registerMainAPI(DutaMovie())
|
||||
registerMainAPI(Ngefilm())
|
||||
registerMainAPI(Nodrakorid())
|
||||
registerExtractorAPI(Filelions())
|
||||
registerExtractorAPI(Likessb())
|
||||
registerExtractorAPI(DbGdriveplayer())
|
||||
|
|
|
@ -8,7 +8,7 @@ import com.lagradost.cloudstream3.mainPageOf
|
|||
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||
import com.lagradost.cloudstream3.utils.loadExtractor
|
||||
|
||||
class Ngefilm : Gomov() {
|
||||
class Ngefilm : DutaMovie() {
|
||||
override var mainUrl = "https://ngefilm21.lol"
|
||||
override var name = "Ngefilm"
|
||||
|
||||
|
@ -19,22 +19,4 @@ class Ngefilm : Gomov() {
|
|||
"/page/%d/?s=&search=advanced&post_type=tv&index=&orderby=&genre=&movieyear=&country=indonesia&quality=" to "Series Indonesia",
|
||||
)
|
||||
|
||||
override suspend fun loadLinks(
|
||||
data: String,
|
||||
isCasting: Boolean,
|
||||
subtitleCallback: (SubtitleFile) -> Unit,
|
||||
callback: (ExtractorLink) -> Unit
|
||||
): Boolean {
|
||||
|
||||
val document = app.get(data).document
|
||||
document.select("ul.muvipro-player-tabs li a").apmap { server ->
|
||||
val iframe = app.get(fixUrl(server.attr("href"))).document.selectFirst("div.gmr-embed-responsive iframe")
|
||||
?.attr("src")?.let { fixUrl(it) } ?: return@apmap
|
||||
loadExtractor(iframe, "$mainUrl/", subtitleCallback, callback)
|
||||
}
|
||||
|
||||
return true
|
||||
|
||||
}
|
||||
|
||||
}
|
16
Gomov/src/main/kotlin/com/hexated/Nodrakorid.kt
Normal file
16
Gomov/src/main/kotlin/com/hexated/Nodrakorid.kt
Normal file
|
@ -0,0 +1,16 @@
|
|||
package com.hexated
|
||||
|
||||
import com.lagradost.cloudstream3.mainPageOf
|
||||
|
||||
class Nodrakorid : DutaMovie() {
|
||||
override var mainUrl = "https://no-drak-or.xyz"
|
||||
override var name = "Nodrakorid"
|
||||
|
||||
override val mainPage = mainPageOf(
|
||||
"genre/movie/page/%d/" to "Film Terbaru",
|
||||
"genre/korean-movie/page/%d/" to "Film Korea",
|
||||
"genre/drama/page/%d/" to "Drama Korea",
|
||||
"genre/c-drama/c-drama-c-drama/page/%d/" to "Drama China",
|
||||
"genre/thai-drama/page/%d/" to "Drama Thailand",
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue