
介绍
通过浏览器运行 JavaScript 脚本获取直播弹幕, 使用 WebSokcet 向其他端传送弹幕.
配置
- WebSocket 连接地址在第 1 行.
- 监听间隔 (毫秒) 在第 2 行.
方法
先运行服务端, 再运行脚本.
响应参数
名称
说明
type
类型
nickname
昵称
user_level
用户等级
fan_club_name
粉丝团名称
fan_club_level
粉丝团等级
is_admin
是否为管理员
content
内容
gift_image_url
礼物图像网址
下载地址:
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END