cloudstream-extensions-hexated/RebahinProvider/src/main/kotlin/com/hexated/Kitanonton.kt

33 lines
1.2 KiB
Kotlin
Raw Normal View History

package com.hexated
import com.lagradost.cloudstream3.*
class Kitanonton : RebahinProvider() {
Adityajd patch 1 (#616) * Update RebahinProvider.kt * Update LayarKacaProvider.kt update main url ="https://tv3.lk21official.wiki" change to "https://tv4.lk21official.wiki" * Update LayarKacaProvider.kt * Update Dubbindo.kt update domain * Update Cgvindo.kt * Update DramaidProvider.kt * Update DutaMovie.kt * Update Ngefilm.kt * Update Pusatfilm.kt * Update LayarKacaProvider.kt * Update build.gradle.kts * Update RebahinProvider.kt * Update DutaMovie.kt Update mainurl * Update build.gradle.kts * Update Ngefilm.kt * Update DramaSerial.kt * Update Nodrakorid.kt update mainurl * Update Pusatfilm.kt update mainurl * Update DramaSerial.kt update serverurl http://31.220.73.179/ * Update build.gradle.kts * Update LayarKacaProvider.kt update mainurl * Update DutaMovie.kt update mainurl * Update Pusatfilm.kt update mainurl * Update Multiplex.kt update mainurl * Update Ngefilm.kt update mainurl * Update Ngefilm.kt update mainurl * Update DutaMovie.kt update mainurl * Update Multiplex.kt update mainurl * Update Ngefilm.kt update mainurl * Update Pusatfilm.kt update mainurl * Update build.gradle.kts * Update LayarKacaProvider.kt update mainUrl update seriesUrl * Update UseeTv.kt update mainurl * Update Multiplex.kt fix indofilm * Update LayarKacaProvider.kt Update main url * Update build.gradle.kts Domain * Update DutaMovie.kt Update mainurl * Update Gomov.kt Update mainurl * Update Multiplex.kt Update mainurl * Update Ngefilm.kt Update mainurl * Update Pusatfilm.kt Update mainurl * Update Cgvindo.kt Update mainurl * Update Kitanonton.kt Update mainurl * Update RebahinProvider.kt Update mainurl * Update Pusatfilm.kt change to old mainurl
2024-02-29 21:27:45 +00:00
override var mainUrl = "http://kitanonton.skin/"
override var name = "KitaNonton"
override var mainServer = "https://199.87.210.226"
override val mainPage = mainPageOf(
"$mainUrl/genre/populer/page/" to "Populer Movies",
"$mainUrl/movies/page/" to "New Movies",
"$mainUrl/genre/westseries/page/" to "West TV Series",
"$mainUrl/genre/drama-korea/page/" to "Drama Korea",
"$mainUrl/genre/animation/page/" to "Anime",
"$mainUrl/genre/series-indonesia/page/" to "Drama Indonesia",
"$mainUrl/genre/drama-jepang/page/" to "Drama Jepang",
"$mainUrl/genre/drama-china/page/" to "Drama China",
"$mainUrl/genre/thailand-series/page/" to "Drama Thailand",
)
override suspend fun getMainPage(
page: Int,
request: MainPageRequest
): HomePageResponse {
val document = app.get(request.data + page).document
val home = document.select("div#featured div.ml-item").mapNotNull {
it.toSearchResult()
}
return newHomePageResponse(request.name, home)
}
}