diff --git a/Anilibria/src/main/kotlin/com/hexated/Anilibria.kt b/Anilibria/src/main/kotlin/com/hexated/Anilibria.kt index c51afb3c0..d4975a0be 100644 --- a/Anilibria/src/main/kotlin/com/hexated/Anilibria.kt +++ b/Anilibria/src/main/kotlin/com/hexated/Anilibria.kt @@ -144,7 +144,7 @@ class Anilibria : MainAPI() { } private suspend fun getTracker(title: String?, type: String?, year: Int?): Tracker { - val res = app.get("https://api.consumet.org/meta/anilist/$title") + val res = app.get("https://consumet-instance.vercel.app/meta/anilist/$title") .parsedSafe()?.results?.find { media -> (media.title?.english.equals(title, true) || media.title?.romaji.equals( title, @@ -194,4 +194,4 @@ class Anilibria : MainAPI() { @JsonProperty("mes") val mes: String? = null, ) -} \ No newline at end of file +} diff --git a/Kickassanime/src/main/kotlin/com/hexated/Kickassanime.kt b/Kickassanime/src/main/kotlin/com/hexated/Kickassanime.kt index 75184a6e2..2ca2465ee 100644 --- a/Kickassanime/src/main/kotlin/com/hexated/Kickassanime.kt +++ b/Kickassanime/src/main/kotlin/com/hexated/Kickassanime.kt @@ -35,8 +35,8 @@ open class Kickassanime : MainAPI() { companion object { const val kaast = "https://kaast1.com" - private const val consumetAnilist = "https://api.consumet.org/meta/anilist" - private const val consumetMal = "https://api.consumet.org/meta/mal" + private const val consumetAnilist = "https://consumet-instance.vercel.app/meta/anilist" + private const val consumetMal = "https://consumet-instance.vercel.app/meta/mal" fun getType(t: String): TvType { return when { t.contains("Ova", true) -> TvType.OVA @@ -379,4 +379,4 @@ open class Kickassanime : MainAPI() { @JsonProperty("title") val title: SyncTitle? = null, ) -} \ No newline at end of file +} diff --git a/Loklok/src/main/kotlin/com/hexated/Loklok.kt b/Loklok/src/main/kotlin/com/hexated/Loklok.kt index 5e8c8ca54..143d5c01c 100644 --- a/Loklok/src/main/kotlin/com/hexated/Loklok.kt +++ b/Loklok/src/main/kotlin/com/hexated/Loklok.kt @@ -268,7 +268,7 @@ class Loklok : MainAPI() { } private suspend fun getTracker(title: String?, type: String?, year: Int?): Tracker { - val res = app.get("https://api.consumet.org/meta/anilist/$title") + val res = app.get("https://consumet-instance.vercel.app/meta/anilist/$title") .parsedSafe()?.results?.find { media -> (media.title?.english.equals(title, true) || media.title?.romaji.equals( title, diff --git a/YugenAnime/src/main/kotlin/com/hexated/YugenAnime.kt b/YugenAnime/src/main/kotlin/com/hexated/YugenAnime.kt index af605a821..5a99253fc 100644 --- a/YugenAnime/src/main/kotlin/com/hexated/YugenAnime.kt +++ b/YugenAnime/src/main/kotlin/com/hexated/YugenAnime.kt @@ -31,8 +31,8 @@ class YugenAnime : MainAPI() { ) companion object { - private const val consumetAnilist = "https://api.consumet.org/meta/anilist" - private const val consumetMal = "https://api.consumet.org/meta/mal" + private const val consumetAnilist = "https://consumet-instance.vercel.app/meta/anilist" + private const val consumetMal = "https://consumet-instance.vercel.app/meta/mal" fun getType(t: String): TvType { return if (t.contains("OVA", true) || t.contains("Special", true)) TvType.OVA