From 543aca8c805259e345e6145370dcc3b947254c7f Mon Sep 17 00:00:00 2001 From: huankong233 Date: Fri, 29 May 2026 15:31:21 +0800 Subject: [PATCH] =?UTF-8?q?[-]=20=E7=A7=BB=E9=99=A4=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E8=BF=94=E5=9B=9E=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/libs/AnimeTrace/types.ts | 1 - test/index.ts | 28 ++++++++++++++-------------- 4 files changed, 19 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01545ae..e561b19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 2026 +### 05-29 v1.0.3 + +- [-] 移除错误的返回字段 + ### 05-29 v1.0.2 - [*] 优化 Ascii2d 搜索返回信息 diff --git a/package.json b/package.json index 13c8ac8..0e394c9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "image_searcher", "type": "module", - "version": "1.0.2", + "version": "1.0.3", "description": "image searcher of multiple search engines", "author": "huan_kong", "license": "MIT", diff --git a/src/libs/AnimeTrace/types.ts b/src/libs/AnimeTrace/types.ts index ee6f2b3..a6cf8b3 100644 --- a/src/libs/AnimeTrace/types.ts +++ b/src/libs/AnimeTrace/types.ts @@ -20,7 +20,6 @@ export interface AnimeTraceItem { box_id: string character: AnimeTraceCharacter[] not_confident: boolean - preview: string | null } export interface AnimeTraceApiRes { diff --git a/test/index.ts b/test/index.ts index 644c40f..d3879bb 100644 --- a/test/index.ts +++ b/test/index.ts @@ -5,21 +5,21 @@ import { AnimeTrace, Ascii2d, Iqdb, SauceNAO, TinEye, TraceMoe } from '@/index.j const url = 'https://img.huankong.top/i/2024/04/15/661cc5a5b583d.jpg' const path = './test/test.jpg' -Ascii2d({ - type: 'color', - url, - flareSolverr: 'http://localhost:8191', - image2Base64: true, -}) - .then((res) => { - console.dir(res, { depth: null }) - }) - -// SauceNAO({ -// path, -// }).then((res) => { -// console.dir(res, { depth: null }) +// Ascii2d({ +// type: 'color', +// url, +// flareSolverr: 'http://localhost:8191', +// image2Base64: true, // }) +// .then((res) => { +// console.dir(res, { depth: null }) +// }) + +SauceNAO({ + path, +}).then((res) => { + console.dir(res, { depth: null }) +}) // Iqdb({ // url,