From 21a3b58755cada998edd53547de661b115457655 Mon Sep 17 00:00:00 2001 From: BrutuZ Date: Wed, 18 Feb 2026 22:12:32 -0300 Subject: [PATCH] Switch to minified anime-list JSON --- src/update.test.ts | 4 ++-- src/update.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/update.test.ts b/src/update.test.ts index c32e45967..9dc349960 100644 --- a/src/update.test.ts +++ b/src/update.test.ts @@ -24,7 +24,7 @@ afterAll(async () => { }) it("handles bad values", async () => { - server.get("/Fribb/anime-lists/master/anime-list-full.json", { + server.get("/Fribb/anime-lists/master/anime-list-mini.json", { status: 200, body: [ { anidb_id: 1337, themoviedb_id: "unknown" }, @@ -82,7 +82,7 @@ it("handles duplicates", async () => { mocker.unmockGlobal() const entries: Relation[] = await fetch( - "https://raw.githubusercontent.com/Fribb/anime-lists/master/anime-list-full.json", + "https://raw.githubusercontent.com/Fribb/anime-lists/master/anime-list-mini.json", ) .then(async (r) => r.json()) .then((e) => (e as any[]).map(formatEntry)) diff --git a/src/update.ts b/src/update.ts index 8eac8a1dc..d3fad2029 100644 --- a/src/update.ts +++ b/src/update.ts @@ -28,7 +28,7 @@ export type AnimeListsSchema = Array<{ const fetchDatabase = async (): Promise => { const response = await http .get( - "https://raw.githubusercontent.com/Fribb/anime-lists/master/anime-list-full.json", + "https://raw.githubusercontent.com/Fribb/anime-lists/master/anime-list-mini.json", ) .catch((error: XiorError) => error)