mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Update Loklok.kt
This commit is contained in:
parent
f763958f37
commit
49aac76c26
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class Loklok : MainAPI() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private suspend fun getTracker(title: String?, type: String?, year: Int?): Tracker {
|
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 ->
|
.parsedSafe<AniSearch>()?.results?.find { media ->
|
||||||
(media.title?.english.equals(title, true) || media.title?.romaji.equals(
|
(media.title?.english.equals(title, true) || media.title?.romaji.equals(
|
||||||
title,
|
title,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue