mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Update Anilibria.kt
This commit is contained in:
parent
efc0f6eaef
commit
12dded5ce6
1 changed files with 2 additions and 2 deletions
|
@ -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<AniSearch>()?.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,
|
||||
)
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue