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]无法下载抖音图片 #279

Closed
Awaitws opened this issue Feb 19, 2025 · 5 comments
Closed

[BUG]无法下载抖音图片 #279

Awaitws opened this issue Feb 19, 2025 · 5 comments
Labels
已确认(confirmed) 该issue已被处理,将在下次推送中更新(The issue has been processed and will be updated in the next push) 请查阅文档(Documentation) 文档包含解决方案,请先自行查阅(The documentation contains the solution, so please check it out for yourself first)

Comments

@Awaitws
Copy link

Awaitws commented Feb 19, 2025

  • [√] 我查看了 文档 以及 已关闭的问题 以寻找可能的解决方案。

  • [√] 我在 常见的问题与解决办法 中找不到我的问题。

  • 如果错误问题是可视化的,请在屏幕截图贴截图。如果你是开发者请在错误重现提供一个最小的代码示例来演示该问题。

  • 相同的问题将会被标记重复(duplicate),如果你的问题被标记为已确认(confirmed)则会在后续的推送中修复,请时刻留意。

  • 退订邮件提醒请点击邮件的底部unsubscribe

详细描述错误
抖音下载纯图片图文的时候会报错 导致无法批量下载收藏作品
单个纯图片作品也无法下载

系统平台
Q:你在哪个平台(Win/Linux/Mac)上运行?你使用的是什么浏览器?你使用的是什么终端软件?你使用的F2是什么版本?

A:

  • 操作系统:win11 21H2
  • 终端:WT 1.17.11461.0
  • F2版本 :0.0.1.7

错误重现

Q: 请你复制并粘贴出错时运行的命令和配置文件内容,以及重现该行为的步骤。如果你一次性就提供完整信息,就会节省很多解决问题的时间。

f2 dy -u "2.53 09/25 aAG:/ I@V.Lj 2023年 万事顺意。# 新年快乐 # 愿2023年一切顺遂 一生热爱不遗憾❤️ https://v.douyin.com/iPsLK8F8/ 复制此链接,打开Dou音搜索,直接观看视频!" -M one -p E:\

Image

Q: 请添加调试命令f2 -d DEBUG重新运行出错的命令并提供日志目录下的日志文件。
(格式乱了所以拿记事本截图)
Image

@Awaitws Awaitws added the 故障(bug) 代码问题导致的错误(Bugs caused by code problems) label Feb 19, 2025
Copy link

Similarity Issues

  1. 50% [BUG]不能下载最高分辨率 #214

Copy link

dosubot bot commented Feb 19, 2025

Hello, @Awaitws! I'm here to help you resolve bugs, answer questions, and become a contributor. Let's work together to solve the issue you're facing.

I found a similar open issue related to downloading Douyin images, but no solution was found in the comments [1]. Additionally, there is a closed issue with a similar error, but it also lacks a solution in the comments [2].

The error you're encountering, AttributeError: 'NoneType' object has no attribute 'format', occurs in the format_file_name function. This suggests that the naming parameter being passed to the function is None.

To address this issue, ensure that the naming parameter is correctly set in your command or configuration. The naming parameter should be a string template with placeholders for various fields, such as {create}, {desc}, {aweme_id}, etc. If the naming parameter is not provided or is None, the application should handle it gracefully by either using a default naming template or by skipping the file name formatting step [3].

Check your command or configuration to ensure that the naming parameter is correctly specified. If it is missing, you might need to define it explicitly to avoid this error.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@Johnserf-Seed
Copy link
Owner

你没提供最关键的内容,配置文件,读一遍文档再配置,全错了

@Johnserf-Seed
Copy link
Owner

Image

Image

你的配置文件参数缺失,请重新初始化配置

@Johnserf-Seed Johnserf-Seed added 已确认(confirmed) 该issue已被处理,将在下次推送中更新(The issue has been processed and will be updated in the next push) 请查阅文档(Documentation) 文档包含解决方案,请先自行查阅(The documentation contains the solution, so please check it out for yourself first) and removed 故障(bug) 代码问题导致的错误(Bugs caused by code problems) labels Feb 19, 2025
@Awaitws
Copy link
Author

Awaitws commented Feb 19, 2025

Image

Image

你的配置文件参数缺失,请重新初始化配置

感谢耐心答复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
已确认(confirmed) 该issue已被处理,将在下次推送中更新(The issue has been processed and will be updated in the next push) 请查阅文档(Documentation) 文档包含解决方案,请先自行查阅(The documentation contains the solution, so please check it out for yourself first)
Projects
None yet
Development

No branches or pull requests

2 participants