From 1e26d89dd823b222cc45b626826ae9618ce6b059 Mon Sep 17 00:00:00 2001 From: Quan Date: Tue, 16 Dec 2025 10:04:29 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E4=BF=AE=E6=AD=A3=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/application/app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/application/app.py b/source/application/app.py index e733f24..53751c8 100644 --- a/source/application/app.py +++ b/source/application/app.py @@ -381,9 +381,10 @@ class XHS: ), ) -> tuple[str, Namespace | dict]: if await self.skip_download(id_ := self.__extract_link_id(url)) and not data: - logging(log, _("作品 {0} 存在下载记录,跳过处理").format(id_)) + msg = _("作品 {0} 存在下载记录,跳过处理").format(id_) + logging(log, msg) count.skip += 1 - return id_, {} + return id_, {"message": msg} logging(log, _("开始处理作品:{0}").format(id_)) html = await self.html.request_url( url,