diff --git a/TimefourTv/build.gradle.kts b/TimefourTv/build.gradle.kts index dbde5cf2..3fb6e15e 100644 --- a/TimefourTv/build.gradle.kts +++ b/TimefourTv/build.gradle.kts @@ -1,5 +1,5 @@ // use an integer for version numbers -version = 15 +version = 16 cloudstream { diff --git a/TimefourTv/src/main/kotlin/com/hexated/TimefourTv.kt b/TimefourTv/src/main/kotlin/com/hexated/TimefourTv.kt index b5b0dbb0..7b68e7a7 100644 --- a/TimefourTv/src/main/kotlin/com/hexated/TimefourTv.kt +++ b/TimefourTv/src/main/kotlin/com/hexated/TimefourTv.kt @@ -19,7 +19,7 @@ open class TimefourTv : MainAPI() { ) companion object { - const val daddyUrl = "https://d.daddylivehd.sx" + const val daddyUrl = "https://daddylivehd.com" val daddyHost: String = daddyUrl.getHost() private fun String.getHost(): String { return URI(this).host.substringBeforeLast(".").substringAfterLast(".") diff --git a/YomoviesProvider/build.gradle.kts b/YomoviesProvider/build.gradle.kts index f00bbb7e..f5249c1c 100644 --- a/YomoviesProvider/build.gradle.kts +++ b/YomoviesProvider/build.gradle.kts @@ -1,5 +1,5 @@ // use an integer for version numbers -version = 16 +version = 17 cloudstream { diff --git a/YomoviesProvider/src/main/kotlin/com/hexated/Watchomovies.kt b/YomoviesProvider/src/main/kotlin/com/hexated/Watchomovies.kt index 9ed5ad2d..cca19de1 100644 --- a/YomoviesProvider/src/main/kotlin/com/hexated/Watchomovies.kt +++ b/YomoviesProvider/src/main/kotlin/com/hexated/Watchomovies.kt @@ -1,13 +1,13 @@ package com.hexated +import com.lagradost.cloudstream3.LoadResponse import com.lagradost.cloudstream3.TvType import com.lagradost.cloudstream3.mainPageOf class Watchomovies : YomoviesProvider() { override var mainUrl = "https://watchomovies.mom" override var name = "Watchomovies" - override val hasMainPage = true - override var lang = "hi" + override var lang = "en" override val supportedTypes = setOf( TvType.NSFW, ) @@ -20,4 +20,8 @@ class Watchomovies : YomoviesProvider() { "genre/parody" to "Parody Movies", "genre/tv-shows" to "TV Shows Movies", ) + + override suspend fun load(url: String): LoadResponse? { + return super.load(url).apply { this?.type = TvType.NSFW } + } } \ No newline at end of file