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

🐛 抖音感谢礼物gift_num错误 | [Bug] DouYin, Gift problem... #815

Closed
asoefsh opened this issue May 12, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@asoefsh
Copy link

asoefsh commented May 12, 2024

您使用的版本? | Your usage version?

2024.04.17

您使用的python版本&系统环境? | Your usage python version & system?

python:3.10
系统:win10

您使用的场景? | Your usage scenarios?

**【抖音】平台,【礼物答谢】**功能

您做了什么操作? | What did you do?

尝试新增除了{username}和{gift_name}以外的其他参数,例如礼物数量,单价总价。
案例:感谢{username}送的{gift_num}个单价{unit_price}元,总价{total_price}元的{gift_name}喵

您遇到了什么问题? | What are your problems?

当添加其余三个新参数时,my_handle.py会报错,如下图所示,无论是{gift_num}还是{unit_price}还是{total_price}都会报错我都尝试过了。bilibili的可以正常跑通,但我用的是抖音,出现了这个问题。从下图黄色框来看,我们是能成功接收到相关礼物参数并作为log打印出来的。
66a27708e4d1f20fdb41d3401d1f12a

您期望的结果是怎样的? | What is your expected outcome?

感觉似乎是如报错所示部分的一些代码逻辑没有兼容{gift_num} {unit_price} {total_price}这三个新参数,希望能修复在【礼物答谢】以及 【按键/文案映射】这2个功能板块的上述三个参数的问题。

十分感谢!!

@asoefsh asoefsh added the bug Something isn't working label May 12, 2024
@Ikaros-521
Copy link
Owner

Ikaros-521 commented May 13, 2024

更新到最新版 #813

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants