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

功能请求:增强的弹幕屏蔽 #91

Open
Zxilly opened this issue Aug 5, 2024 · 6 comments
Open

功能请求:增强的弹幕屏蔽 #91

Zxilly opened this issue Aug 5, 2024 · 6 comments

Comments

@Zxilly
Copy link
Contributor

Zxilly commented Aug 5, 2024

允许在屏蔽弹幕的同时,自动拉黑弹幕发送者

@qianjiachun
Copy link
Owner

屏蔽功能不就是拉黑吗,我没有找到有拉黑功能

@Zxilly
Copy link
Contributor Author

Zxilly commented Aug 5, 2024

有两种吧,一种是弹幕屏蔽,只是不看对方发的弹幕,拉黑是在用户首页,有禁止互动。回头我抓个包看看细节

@qianjiachun
Copy link
Owner

我觉得这个功能有一些激进,如果有的用户只想要屏蔽弹幕,但是不想拉黑对面,这种情况下对用户来说就是一种暗箱操作。
如果弹出一个对话框来选择是否拉黑,这个功能又显得有点臃肿了,我个人认为不是很妥

@Zxilly
Copy link
Contributor Author

Zxilly commented Aug 6, 2024

可以添加一个额外的屏蔽拉黑按钮吧,加在tooltip上,应该可以用observer做到

@qianjiachun
Copy link
Owner

可以的,插件本身有做tooltip的增强,如果可以的话试试提交一下PR😂?

@Zxilly
Copy link
Contributor Author

Zxilly commented Aug 9, 2024

endpoint 是 https://yuba.douyu.com/wgapi/yubanc/api/user/setBlack ,负载是

target_hash_uid: lWAoPL80G7vr
target_uid: 136254113
action: 1

form encode,我琢磨下这个hash_uid怎么来的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants