mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-18 02:43:56 +00:00
Fix: thumbnails
This commit is contained in:
@@ -11,7 +11,7 @@ import kotlinx.serialization.json.decodeFromJsonElement
|
||||
|
||||
object Anify {
|
||||
suspend fun fetchAndParseMetadata(id :Int): Map<String, Episode> {
|
||||
val response = client.get("https://api.anify.tv/content-metadata/$id")
|
||||
val response = client.get("https://anify.eltik.cc/content-metadata/$id")
|
||||
.parsed<JsonArray>().map {
|
||||
Mapper.json.decodeFromJsonElement<AnifyElement>(it)
|
||||
}
|
||||
@@ -43,4 +43,4 @@ object Anify {
|
||||
val updatedAt: Long? = null,
|
||||
val rating: Double? = null
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user