mirror of
https://github.com/wbt5/real-url.git
synced 2025-08-10 21:31:33 +08:00
Compare commits
6 Commits
c9858a81a8
...
52329a5db7
Author | SHA1 | Date | |
---|---|---|---|
|
52329a5db7 | ||
|
e6964984b0 | ||
|
5f7734d9c3 | ||
|
d0b15785ea | ||
|
9caecc1cf5 | ||
|
750ce90471 |
@ -26,6 +26,8 @@
|
||||
有直播平台失效或新增其他平台解析的,可发 [issue](https://github.com/wbt5/real-url/issues/new)。
|
||||
|
||||
## 更新
|
||||
2021.7.4::art:更新哔哩哔哩直播源;:bug:修复Acfun直播弹幕;:bug:修复企鹅电竞弹幕。
|
||||
|
||||
2021.6.20::sparkles:新增爱奇艺体育直播。
|
||||
|
||||
2021.6.13::bug:修复腾讯体育。
|
||||
|
@ -382,6 +382,28 @@ message CommonActionSignalUserFollowAuthor {
|
||||
optional uint64 sendTimeMs = 2;
|
||||
}
|
||||
|
||||
message CommonActionSignalRichText {
|
||||
optional UserInfoSegment userInfo = 1;
|
||||
optional PlainSegment plain = 2;
|
||||
optional ImageSegment image = 3;
|
||||
}
|
||||
|
||||
message UserInfoSegment {
|
||||
optional ZtLiveUserInfo user = 1;
|
||||
optional string color = 2;
|
||||
}
|
||||
|
||||
message PlainSegment {
|
||||
optional string text = 1;
|
||||
optional string color = 2;
|
||||
}
|
||||
|
||||
message ImageSegment {
|
||||
optional ImageCdnNode cdnNode = 1;
|
||||
optional string alternativeText = 2;
|
||||
optional string alternativeColor = 3;
|
||||
}
|
||||
|
||||
message CommonNotifySignalKickedOut {
|
||||
optional string reason = 1;
|
||||
}
|
||||
@ -419,6 +441,12 @@ message AcfunStateSignalDisplayInfo {
|
||||
optional string bananaCount = 1;
|
||||
}
|
||||
|
||||
message AcfunActionSignalJoinClub {
|
||||
optional UserInfo fansInfo = 1;
|
||||
optional UserInfo uperInfo = 2;
|
||||
optional uint64 joinTimeMs = 3;
|
||||
}
|
||||
|
||||
message ZtLiveUserInfo {
|
||||
optional uint64 userId = 1;
|
||||
optional string nickname = 2;
|
||||
|
File diff suppressed because one or more lines are too long
@ -51,7 +51,8 @@ class eGame:
|
||||
if body:
|
||||
bin_datas = body['bin_data']
|
||||
for bin_data in bin_datas:
|
||||
if bin_data['type'] in (0, 3, 9):
|
||||
# if bin_data['type'] in (0, 3, 9):
|
||||
if bin_data.get('type', '') in (0, 3, 9):
|
||||
msg['name'] = bin_data['nick']
|
||||
msg['content'] = bin_data['content']
|
||||
msg['msg_type'] = 'danmaku'
|
||||
@ -230,6 +231,8 @@ class MessageDecode:
|
||||
value, position = self.f9(i, s_position)
|
||||
elif type == 12:
|
||||
value, position = self.f12(i, s_position)
|
||||
elif type == 13:
|
||||
value, position = self.f13(i, s_position)
|
||||
|
||||
i = ''
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user