Updated Consumet Instance (#484)

* Update YugenAnime.kt

consumet has closed it's public api instance for months now and to use it consumet a person has to host his/her own instance so just updated the instance

* Update Anilibria.kt

* Update Kickassanime.kt

* Update Loklok.kt
This commit is contained in:
Saksham Kushwaha 2024-01-01 17:39:03 +05:30 committed by GitHub
parent 03c2641c86
commit 4643275ab4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View file

@ -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<AniSearch>()?.results?.find { media ->
(media.title?.english.equals(title, true) || media.title?.romaji.equals(
title,