Update Loklok.kt
This commit is contained in:
parent
f763958f37
commit
49aac76c26
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue