mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2026-03-22 06:57:16 +08:00
revert: 修正运行提示错误
This commit is contained in:
@@ -381,9 +381,10 @@ class XHS:
|
|||||||
),
|
),
|
||||||
) -> tuple[str, Namespace | dict]:
|
) -> tuple[str, Namespace | dict]:
|
||||||
if await self.skip_download(id_ := self.__extract_link_id(url)) and not data:
|
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
|
count.skip += 1
|
||||||
return id_, {}
|
return id_, {"message": msg}
|
||||||
logging(log, _("开始处理作品:{0}").format(id_))
|
logging(log, _("开始处理作品:{0}").format(id_))
|
||||||
html = await self.html.request_url(
|
html = await self.html.request_url(
|
||||||
url,
|
url,
|
||||||
|
|||||||
Reference in New Issue
Block a user