Skip to content

[BUG]1.4.0视频无法正常下载成功 #512

@rtfghd

Description

@rtfghd

描述出现的错误
视频列表加载成功,但是全部下载失败,没有进度,是因为异步下载速度太快导致的吗,线程数可以自己配置来控制吗

image
image

桌面(请填写以下信息):
-操作系统:Windows11 64
-项目版本:1.4.0
-py版本:3.11.4

其他报错

[  提示  ]:异常,
[2023-08-15 11:52:46,139] - Log.py] - ERROR: [  提示  ]:异常,
pythonTraceback (most recent call last):
  File "Util\Profile.py", line 478, in get_Profile
    aweme_data = await self.get_user_post_info(self.headers, self.profile_URL)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Util\Profile.py", line 339, in get_user_post_info
    aweme_list, max_cursor, has_more = await self.get_request_data('GET', url, headers)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Util\Profile.py", line 121, in get_request_data
    api_data = await response.json()
               ^^^^^^^^^^^^^^^^^^^^^
  File "aiohttp\client_reqrep.py", line 1099, in json
  File "aiohttp\client_reqrep.py", line 1037, in read
  File "aiohttp\streams.py", line 375, in read
  File "aiohttp\streams.py", line 397, in readany
  File "aiohttp\streams.py", line 303, in _wait
  File "aiohttp\helpers.py", line 721, in __exit__
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "TikTokTool.py", line 28, in <module>
    Util.asyncio.run(Util.Profile(config, dyheaders).get_Profile())
  File "asyncio\runners.py", line 190, in run
  File "asyncio\runners.py", line 118, in run
  File "asyncio\base_events.py", line 653, in run_until_complete
  File "Util\Profile.py", line 484, in get_Profile
    input('[  提示  ]:按任意键退出程序!\r')
EOFError
[16680] Failed to execute script 'TikTokTool' due to unhandled exception!

Metadata

Metadata

Assignees

Labels

故障(bug)代码问题导致的错误(Bugs caused by code problems)无效(invalid)非代码故障导致错误或异常(Non-code faults causing errors or anomalies)额外求助(help wanted)非项目代码错误的求助(Extra attention is needed)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions