revert: 修正运行提示错误

This commit is contained in:
Quan 2025-12-16 10:04:29 +08:00
parent 80eee2bb16
commit 1e26d89dd8

View File

@ -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,