diff --git a/hibiapi/api/pixiv/api.py b/hibiapi/api/pixiv/api.py index d75bccfb..01e724c3 100644 --- a/hibiapi/api/pixiv/api.py +++ b/hibiapi/api/pixiv/api.py @@ -479,7 +479,7 @@ async def novel_detail(self, *, id: int): # 已被官方移除,调用 webview/v2/novel 作兼容处理 async def novel_text(self, *, id: int): # return await self.request("/v1/novel/text", params={"novel_id": id}) - response = await self.webview_novel(id=id, raw=False) + response = await self.webview_novel(id=id) return {"novel_text": response["text"] or ""} # 获取小说 HTML 后解析 JSON