mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
changed daddyhd domain
This commit is contained in:
parent
b8b87dea74
commit
89a619929b
4 changed files with 9 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 15
|
version = 16
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -19,7 +19,7 @@ open class TimefourTv : MainAPI() {
|
||||||
)
|
)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
const val daddyUrl = "https://d.daddylivehd.sx"
|
const val daddyUrl = "https://daddylivehd.com"
|
||||||
val daddyHost: String = daddyUrl.getHost()
|
val daddyHost: String = daddyUrl.getHost()
|
||||||
private fun String.getHost(): String {
|
private fun String.getHost(): String {
|
||||||
return URI(this).host.substringBeforeLast(".").substringAfterLast(".")
|
return URI(this).host.substringBeforeLast(".").substringAfterLast(".")
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 16
|
version = 17
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package com.hexated
|
package com.hexated
|
||||||
|
|
||||||
|
import com.lagradost.cloudstream3.LoadResponse
|
||||||
import com.lagradost.cloudstream3.TvType
|
import com.lagradost.cloudstream3.TvType
|
||||||
import com.lagradost.cloudstream3.mainPageOf
|
import com.lagradost.cloudstream3.mainPageOf
|
||||||
|
|
||||||
class Watchomovies : YomoviesProvider() {
|
class Watchomovies : YomoviesProvider() {
|
||||||
override var mainUrl = "https://watchomovies.mom"
|
override var mainUrl = "https://watchomovies.mom"
|
||||||
override var name = "Watchomovies"
|
override var name = "Watchomovies"
|
||||||
override val hasMainPage = true
|
override var lang = "en"
|
||||||
override var lang = "hi"
|
|
||||||
override val supportedTypes = setOf(
|
override val supportedTypes = setOf(
|
||||||
TvType.NSFW,
|
TvType.NSFW,
|
||||||
)
|
)
|
||||||
|
@ -20,4 +20,8 @@ class Watchomovies : YomoviesProvider() {
|
||||||
"genre/parody" to "Parody Movies",
|
"genre/parody" to "Parody Movies",
|
||||||
"genre/tv-shows" to "TV Shows Movies",
|
"genre/tv-shows" to "TV Shows Movies",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
override suspend fun load(url: String): LoadResponse? {
|
||||||
|
return super.load(url).apply { this?.type = TvType.NSFW }
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue