diff --git a/Movierulzhd/build.gradle.kts b/Movierulzhd/build.gradle.kts index 7f643139a..6c45e8ca0 100644 --- a/Movierulzhd/build.gradle.kts +++ b/Movierulzhd/build.gradle.kts @@ -1,5 +1,5 @@ // use an integer for version numbers -version = 63 +version = 64 cloudstream { diff --git a/Movierulzhd/src/main/kotlin/com/hexated/Movierulzhd.kt b/Movierulzhd/src/main/kotlin/com/hexated/Movierulzhd.kt index 9954eb5d0..a45157cac 100644 --- a/Movierulzhd/src/main/kotlin/com/hexated/Movierulzhd.kt +++ b/Movierulzhd/src/main/kotlin/com/hexated/Movierulzhd.kt @@ -11,7 +11,7 @@ import java.net.URI open class Movierulzhd : MainAPI() { - override var mainUrl = "https://movierulzhd.cafe" + override var mainUrl = "https://movierulzhd.club" var directUrl = "" override var name = "Movierulzhd" override val hasMainPage = true diff --git a/SoraStream/build.gradle.kts b/SoraStream/build.gradle.kts index 09f8b18fe..b18344b18 100644 --- a/SoraStream/build.gradle.kts +++ b/SoraStream/build.gradle.kts @@ -1,7 +1,7 @@ import org.jetbrains.kotlin.konan.properties.Properties // use an integer for version numbers -version = 226 +version = 227 android { defaultConfig { diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt index be66f63a2..a5dd613d3 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt @@ -857,7 +857,7 @@ object SoraExtractor : SoraStream() { invokeAnimetosho(malId, season, episode, subtitleCallback, callback) }, { - invokeAniwatch(zoroIds, episode, subtitleCallback, callback) + invokeHianime(zoroIds, episode, subtitleCallback, callback) }, { invokeAniwave(aniwaveId, episode, subtitleCallback, callback) @@ -955,7 +955,7 @@ object SoraExtractor : SoraStream() { } - private suspend fun invokeAniwatch( + private suspend fun invokeHianime( animeIds: List? = null, episode: Int? = null, subtitleCallback: (SubtitleFile) -> Unit, @@ -966,17 +966,17 @@ object SoraExtractor : SoraStream() { ) animeIds?.apmap { id -> val episodeId = app.get( - "$aniwatchAPI/ajax/v2/episode/list/${id ?: return@apmap}", + "$hianimeAPI/ajax/v2/episode/list/${id ?: return@apmap}", headers = headers - ).parsedSafe()?.html?.let { + ).parsedSafe()?.html?.let { Jsoup.parse(it) }?.select("div.ss-list a")?.find { it.attr("data-number") == "${episode ?: 1}" } ?.attr("data-id") val servers = app.get( - "$aniwatchAPI/ajax/v2/episode/servers?episodeId=${episodeId ?: return@apmap}", + "$hianimeAPI/ajax/v2/episode/servers?episodeId=${episodeId ?: return@apmap}", headers = headers - ).parsedSafe()?.html?.let { Jsoup.parse(it) } + ).parsedSafe()?.html?.let { Jsoup.parse(it) } ?.select("div.item.server-item")?.map { Triple( it.text(), @@ -987,15 +987,15 @@ object SoraExtractor : SoraStream() { servers?.apmap servers@{ server -> val iframe = app.get( - "$aniwatchAPI/ajax/v2/episode/sources?id=${server.second ?: return@servers}", + "$hianimeAPI/ajax/v2/episode/sources?id=${server.second ?: return@servers}", headers = headers - ).parsedSafe()?.link + ).parsedSafe()?.link ?: return@servers val audio = if (server.third == "sub") "Raw" else "English Dub" loadCustomExtractor( "${server.first} [$audio]", iframe, - "$aniwatchAPI/", + "$hianimeAPI/", subtitleCallback, callback, ) diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraParser.kt b/SoraStream/src/main/kotlin/com/hexated/SoraParser.kt index 0fdb77783..029d0af6d 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraParser.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraParser.kt @@ -274,7 +274,7 @@ data class MALSyncResponses( @JsonProperty("Sites") val sites: MALSyncSites? = null, ) -data class AniwatchResponses( +data class HianimeResponses( @JsonProperty("html") val html: String? = null, @JsonProperty("link") val link: String? = null, ) diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt b/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt index 9c83d5fd8..029d46dcd 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt @@ -85,7 +85,7 @@ open class SoraStream : TmdbProvider() { const val noverseAPI = "https://www.nollyverse.com" const val filmxyAPI = "https://www.filmxy.vip" const val kimcartoonAPI = "https://kimcartoon.li" - const val aniwatchAPI = "https://aniwatch.to" + const val hianimeAPI = "https://hianime.to" const val aniwaveAPI = "https://aniwave.to" const val crunchyrollAPI = "https://beta-api.crunchyroll.com" const val kissKhAPI = "https://kisskh.co"