Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提取数据失败就退出了,可以不退出吗?批量下载的时候有点麻烦 #7

Closed
luohaohaha opened this issue Jun 8, 2024 · 1 comment
Labels
处理完成(complete) 处理完成的问题

Comments

@luohaohaha
Copy link

请输入快手作品链接:https://www.kuaishou.com/short-video/3x4mkbnxcw6qp8u
提取数据失败

Traceback (most recent call last):
File "E:\KS-Downloader\main.py", line 12, in
run(main())
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "E:\KS-Downloader\main.py", line 8, in main
await app.run()
File "E:\KS-Downloader\source\app\app.py", line 83, in run
await self.__main_menu()
File "E:\KS-Downloader\source\app\app.py", line 107, in __main_menu
await self.__function[n]1
File "E:\KS-Downloader\source\app\app.py", line 93, in __detail_enquire
await self.detail(text)
File "E:\KS-Downloader\source\app\app.py", line 167, in detail
await self.__download_file(data, app=app, )
File "E:\KS-Downloader\source\app\app.py", line 179, in _download_file
await self.download.run(data, type
, app, )
File "E:\KS-Downloader\source\downloader\downloader.py", line 74, in run
await self.__handle_detail(data, app, )
File "E:\KS-Downloader\source\downloader\downloader.py", line 84, in __handle_detail
if await self.database.has_download_data(i := item["detailID"]):
~~~~^^^^^^^^^^^^
KeyError: 'detailID'

@JoeanAmier
Copy link
Owner

将会修复。

@JoeanAmier JoeanAmier added the 处理完成(complete) 处理完成的问题 label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
处理完成(complete) 处理完成的问题
Projects
None yet
Development

No branches or pull requests

2 participants