From 485353c97df8f4f4420543fa1f14851945e469af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=87=E8=B6=A3=E4=BF=9D=E7=BD=97?= Date: Thu, 6 Aug 2026 16:48:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A7=92=E8=89=B2=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E9=80=82=E9=85=8D=E7=BB=9D=E5=8C=BA=E9=9B=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- download-character-img/index.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/download-character-img/index.js b/download-character-img/index.js index f823312..dac7648 100644 --- a/download-character-img/index.js +++ b/download-character-img/index.js @@ -56,6 +56,18 @@ const wikiConfigs = [ nameTransform: (name) => name.replace(/character-/, '').replace(/-icon$/, ''), verifyApiUrl: 'https://paul.ren/api/page/get?slug=photo-collection-sr', }, + { + name: 'zzz', + baseUrl: 'https://zenless-zone-zero.fandom.com', + wikiTitle: 'Agent/List', + savePath: path.join(__dirname, 'output', 'zzz'), + scopeSelector: 'table.article-table', + scopeIndex: 0, + imageSelector: 'td:first-child img[data-relevant="1"]', + imageUrlAttr: 'src', + nameTransform: (name) => name.replace(/agent-/, '').replace(/-icon$/, ''), + verifyApiUrl: 'https://paul.ren/api/page/get?slug=photo-collection-zzz', + }, { name: 'nte', baseUrl: 'https://neverness-to-everness.fandom.com/wiki/Character/List', @@ -153,6 +165,7 @@ function extractImages(html, config) { const cleanedUrl = cleanImageUrl(rawUrl); const rawName = generateImageName(cleanedUrl); + console.log('rawName', rawName); if (!rawName || seenNames.has(rawName)) { return;