新增视频/图文作品文件下载开关

This commit is contained in:
JoeanAmier
2024-04-13 13:25:31 +08:00
parent 3b2f1bda9e
commit ea349048c3
13 changed files with 134 additions and 21 deletions

View File

@@ -107,7 +107,7 @@ class Index(Screen):
@work()
async def deal(self):
await self.app.push_screen("loading")
if any(await self.xhs.extract(self.url.value, True, log=self.tip)):
if any(await self.xhs.extract(self.url.value, True, log=self.tip, data=False, )):
self.url.value = ""
else:
self.tip.write(Text(self.message("下载小红书作品文件失败"), style=ERROR))