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

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

Open
rtfghd opened this issue Aug 15, 2023 · 2 comments
Open

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

rtfghd opened this issue Aug 15, 2023 · 2 comments
Assignees
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies)

Comments

@rtfghd
Copy link

rtfghd commented Aug 15, 2023

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

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!
@rtfghd rtfghd added 故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies) labels Aug 15, 2023
@RallyQ
Copy link

RallyQ commented Aug 16, 2023

跟楼主同样问题,下载失败,虽然有视频下载回来,但是只能播放20几秒,后面就无法拖动,好像是下载不完整

@DefconBird
Copy link

跟楼主同样问题,下载失败,虽然有视频下载回来,但是只能播放20几秒,后面就无法拖动,好像是下载不完整

你可以直接download zip下载源码,#506中修复了异步下载失败率高的问题,但是作者Commits之后还未重新打包exe发行版,所以TikTokTool V1.4.0中这个问题仍然存在。

Johnserf-Seed added a commit that referenced this issue Aug 17, 2023
1、封面下载
2、文案下载
3、保存为单独文件夹
4、文件命名规则
5、作品发布时间区间下载
6、网络并发数
7、异步任务数
#512 #511 #510 #509 #508 #505 #498
Johnserf-Seed added a commit that referenced this issue Dec 31, 2023
…#220 #223 #230 #242 #258 #260 #295 #312 #313 #320 #322 #332 #335 #341 # #343 #346 #348 #355 #357 #360 #361 #362 #364 #367 #370 #372 #373 #374 #376 #377 #379 #380 #381 #382 #383 #393 #394 #395 #396 #398 #399 #400 #401 #402 #403 #404 #405 #407 #408 #410 #412 #414 #416 #423 #424 #426 #432 #435 #438 #442 #443 #449 #450 #455 #456 #457 #459 #460 #465 #467 #470 #472 #473 #474 #475 #481 #482 #483 #488 #492 #493 #499 #502 #503 #504 #505 #507 #509 #512 #514 #524 #525 #530 #539 #540 #541 #547 #550 #554 #558 #563 #568 #569 #572 #574 #575 #576 #577 #578 #582 #583 #584 #587 #589 #590 #594 #595 #597 #598 #600 #601 #604 #605 #606 #608 #611 #617 #618 #619

[Added]
1. 新增了对直播间信息的详细获取和下载功能。
2. 添加详细直播间信息的下载支持。
3. 引入了提取评论的功能。
4. 新增支持下载 TikTok 数据,包括发布作品、喜欢作品、图集作品等。
5. 提供了自动生成 XB 参数的接口,支持真实和虚假的 msToken。
6. 引入接口数据过滤器,提高数据采集和处理效率。
7. 增加支持长短链解析的功能。
8. 新增了对合集作品的详细获取和下载功能。
9. 引入了 SSO 扫码登录和自动获取Cookie的功能,可通过 `--auto-cookie` 参数实现。

[Changed]
1. 优化了异步下载的网络并发数、超时重试设置,降低采集错误率。
2. 修改了文件检查逻辑,添加了黑名单选项,不再检查黑名单中的作品是否存在。(未来)
3. 对命令行交互进行了调整,添加了更多的配置选项,提供了更灵活的 CLI 模式。
4. 改进了版本更新机制,全新开发的 F2 现在依赖 pip 进行升级。
5. 对于多用户配置,现在可以为不同用户建立不同的配置与下载模式。

[Security]
1. 修复了可能导致信息泄露的漏洞。

[Deprecated]
1. 废弃了一些低版本接口的相关功能,建议使用更新的接口。

[Fixed]
1. 修复了一些在异步下载中可能导致的错误。
2. 修复了一些异步下载线程控制的错误。

[Removed]
1. 移除了不再支持的功能和接口。

[Documentation]
1. 更新了文档,提供了更详细的配置和使用说明。
2. 补充了开发者必读的内容,包括配置文件、调试日志级别等。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies)
Projects
None yet
Development

No branches or pull requests

4 participants