Commit Graph

106 Commits

Author SHA1 Message Date
John Smith
b204c17cc2 更新版本号1.1.0 2025-01-29 22:08:20 +08:00
John Smith
100ed8fdf9 更新弹幕消息模型 2025-01-19 16:25:25 +08:00
John Smith
0685fe1cfd 更新开放平台消息 2025-01-12 19:23:17 +08:00
John Smith
41ee24c08c web接口修复弹幕解析错误 2024-12-25 23:02:57 +08:00
John Smith
68eae6b6aa web接口弹幕消息添加头像和extra 2024-12-23 00:12:50 +08:00
John Smith
8fd7cb467a web接口添加进入房间消息、另一个上舰消息 2024-12-22 23:39:16 +08:00
John Smith
f9b6dc2f35 接入开放平台服务器停止推送的消息,及时断开连接 2024-12-08 18:10:12 +08:00
John Smith
aafe70efe3 更新开放平台消息 2024-12-07 21:02:08 +08:00
莯凛
7f400e9c61
build: PEP 621 packaging (#60) 2024-10-07 16:33:19 +08:00
John Smith
defcc7ad58 修复web接口初始化buvid失败的问题
close #54
2024-06-06 23:14:36 +08:00
John Smith
359e46ae0c 移除开放平台模型的UID 2024-04-16 20:36:04 +08:00
John Smith
60ce01927a 开放平台客户端添加主播Open ID、修复一个web端解析弹幕消息时的报错 2024-03-17 18:40:26 +08:00
John Smith
8f6d770e18 兼容开放平台接口升级
* uid改成open_id
* 上舰消息添加价格字段
2024-03-11 21:08:15 +08:00
John Smith
fc55b75dab 开放平台签名使用更难碰撞的随机数 2023-11-28 22:28:43 +08:00
John Smith
5525bf5419 获取重连间隔时间时传入总重连次数 2023-11-26 16:21:50 +08:00
John Smith
b2c26b5f16 升级依赖,兼容Python 3.12 2023-11-25 17:14:08 +08:00
John Smith
6b3ca05d51 移除弹幕模型中的头像字段和Protobuf模型 2023-11-25 16:08:36 +08:00
dependabot[bot]
e9075de6e6 Bump aiohttp from 3.8.5 to 3.8.6
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.5 to 3.8.6.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.5...v3.8.6)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-15 09:38:09 +08:00
John Smith
57fdd2fb4c 更新开放平台点赞消息模型 2023-11-02 22:12:07 +08:00
John Smith
4da27950c8 更新开放平台模型礼物价格的注释 2023-09-18 20:00:33 +08:00
John Smith
4351881f2e 可配置重连间隔时间 2023-09-15 22:14:25 +08:00
John Smith
fc98b1a699 移除开放平台模型LikeMessage的timestamp字段 2023-09-11 23:26:50 +08:00
John Smith
b1d066b59f 添加重连次数太多的保险措施 2023-09-09 23:45:06 +08:00
John Smith
356837c136 修复开放平台项目可能在close之前停止项目心跳的问题 2023-09-05 22:08:22 +08:00
John Smith
b6e9578cb2 处理开放平台项目异常关闭的情况 2023-09-05 22:00:33 +08:00
John Smith
1db652246a 增强兼容性 2023-09-05 20:33:04 +08:00
John Smith
e9d4bf47cf 客户端正常停止也调用回调 2023-09-05 19:23:20 +08:00
John Smith
e99dc7c5a3 改个变量名 2023-09-04 19:15:22 +08:00
John Smith
300840fd65 移除了一堆没用的特性
消息处理接口改成同步函数
消息处理器从数组改成单个对象
移除web端短ID属性
移除SSL配置
消息处理器添加客户端异常停止的回调
2023-09-03 18:09:48 +08:00
John Smith
74b9cdc100 添加开放平台消息模型 2023-09-03 16:53:08 +08:00
John Smith
ff766d68db 修复连接WebSocket时用的UA 2023-09-03 12:48:04 +08:00
John Smith
a52af864ad 抽出客户端基类 2023-09-03 12:22:01 +08:00
John Smith
92e5cf56db Merge branch 'pr/35' into dev 2023-09-03 10:46:31 +08:00
John Smith
c99909be13 整理开放平台接口代码 2023-09-03 10:46:01 +08:00
kinori
0bdec42f50 补充开放平台接口的结束及心跳调用 2023-09-02 19:36:04 +08:00
kinori
20867a2135 修复开放平台接口启用的判断逻辑 2023-09-02 12:42:40 +08:00
John Smith
d55f001c67 支持自动获取UID、添加使用已登录账号连接的演示 2023-09-02 12:40:38 +08:00
kinori
ad1fd62f29 添加对直播开放平台接口及WS的支持 2023-09-02 11:52:04 +08:00
dependabot[bot]
28645d5e37 Bump aiohttp from 3.7.4 to 3.8.5
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.7.4 to 3.8.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.7.4...v3.8.5)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 22:32:00 +08:00
John Smith
3aca749ef6 修改模型默认值为非None 2023-07-26 22:37:02 +08:00
John Smith
1a53178f5b 补充Protobuf协议模型 2023-07-26 22:22:37 +08:00
TomatoPuddin
2b04284ae3
从弹幕消息的 dm_v2 字段读取用户头像 url (#30)
* 从弹幕消息的 dm_v2 字段读取用户头像url

* 移除调试代码
2023-07-08 13:02:09 +08:00
Xu Siyuan
9d92fcdc91 在 send_auth 时使用主播 uid 作为默认 uid 2023-07-03 22:10:02 +08:00
John Smith
924b99eed6 最低支持的Python版本升级到3.8 2023-03-26 00:51:50 +08:00
John Smith
61e6825d4e 兼容Python 3.10 2023-03-25 18:28:32 +08:00
John Smith
2cca7354b1 修改请求User-Agent,预防将来被屏蔽 2022-06-18 21:27:23 +08:00
John Smith
d8f7f6b782 解析业务消息被停止时不打印消息日志 2021-12-19 18:10:54 +08:00
John Smith
cfda838e01 升级弹幕协议版本 2021-12-18 20:26:51 +08:00
John Smith
7ac4966c92 修改例程,添加同时监听多个直播间 2021-12-18 18:05:07 +08:00
John Smith
28dfc12a90 处理认证失败的情况 2021-12-18 15:46:30 +08:00