From 57dbe9bf2f788558a574834dc5308ae6660ddd3e Mon Sep 17 00:00:00 2001 From: Tsuyumi <40047364+Tsuyumi25@users.noreply.github.com> Date: Thu, 26 Dec 2024 22:58:16 +0800 Subject: [PATCH] fix(pixiv/user): use imgProxy for image url (#17980) --- lib/routes/pixiv/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/pixiv/user.ts b/lib/routes/pixiv/user.ts index 4bdd6e6b8afa94..ae027f7ff7b5b4 100644 --- a/lib/routes/pixiv/user.ts +++ b/lib/routes/pixiv/user.ts @@ -50,7 +50,7 @@ async function handler(ctx) { return { title: `${username} 的 pixiv 动态`, link: `https://www.pixiv.net/users/${id}`, - image: illusts[0].user.profile_image_urls.medium, + image: pixivUtils.getProxiedImageUrl(illusts[0].user.profile_image_urls.medium), description: `${username} 的 pixiv 最新动态`, item: illusts.map((illust) => { const images = pixivUtils.getImgs(illust);