LeoChen98 / BiliRaffle

B站动态抽奖组件
https://www.zhangbudademao.com
MIT License
135 stars 15 forks source link

[Bug] B站动态API开始对请求进行鉴权 #3607

Closed Forgot-Dream closed 1 year ago

Forgot-Dream commented 1 year ago

curl -G https://api.vc.bilibili.com/dynamic_repost/v1/dynamic_repost/repost_detail --data-urlencode 'dynamic_id=669016644742283288'

期望的响应

 {
    "code": 0,
    "msg": "",
    "message": "",
    "data": {
        "has_more": 0,
        "total": 3,
        "items": [
            {
                "desc": {
                    "uid": 478909651,
                    "type": 1,
                    "rid": 669023160171702063,
                    "acl": 0,
                    "view": 0,
                    "repost": 0,
                    "like": 0,
                    "is_liked": 0,
                    "dynamic_id": 669023160201379864,
                    "timestamp": 1654607493,
                    "pre_dy_id": 669016644742283288,
                    "orig_dy_id": 669007814298959974,
                    "orig_type": 2,
                    "user_profile": {
                        "info": {
                            "uid": 478909651,
                            "uname": "-牛马之玉",
                            "face": "http://i0.hdslb.com/bfs/face/member/noface.jpg",
                            "face_nft": 0
                        },
                        "card": {
                            "official_verify": {
                                "type": -1,
                                "desc": ""
                            }
                        },
                        "vip": {
                            "vipType": 0,
                            "vipDueDate": 0,
                            "vipStatus": 0,
                            "themeType": 0,
                            "label": {
                                "path": "",
                                "text": "",
                                "label_theme": "",
                                "text_color": "",
                                "bg_style": 0,
                                "bg_color": "",
                                "border_color": ""
                            },
                            "avatar_subscript": 0,
                            "nickname_color": "",
                            "role": 0,
                            "avatar_subscript_url": ""
                        },
                        "pendant": {
                            "pid": 0,
                            "name": "",
                            "image": "",
                            "expire": 0,
                            "image_enhance": "",
                            "image_enhance_frame": ""
                        },
                        "rank": "10000",
                        "sign": "",
                        "level_info": {
                            "current_level": 2
                        }
                    },
                    "uid_type": 1,
                    "stype": 0,
                    "r_type": 1,
                    "inner_id": 0,
                    "status": 1,
                    "dynamic_id_str": "669023160201379864",
                    "pre_dy_id_str": "669016644742283288",
                    "orig_dy_id_str": "669007814298959974",
                    "rid_str": "669023160171702063",
                    "origin": {
                        "uid": 392836434,
                        "type": 2,
                        "rid": 196658860,
                        "acl": 1024,
                        "view": 46111,
                        "repost": 1446,
                        "like": 0,
                        "dynamic_id": 669007814298959974,
                        "timestamp": 1654603920,
                        "pre_dy_id": 0,
                        "orig_dy_id": 0,
                        "uid_type": 1,
                        "stype": 0,
                        "r_type": 0,
                        "inner_id": 0,
                        "status": 1,
                        "dynamic_id_str": "669007814298959974",
                        "pre_dy_id_str": "0",
                        "orig_dy_id_str": "0",
                        "rid_str": "196658860"
                    },
                    "previous": {
                        "uid": 9617619,
                        "type": 1,
                        "rid": 669016644698939384,
                        "acl": 1024,
                        "view": 1381,
                        "repost": 3,
                        "like": 0,
                        "dynamic_id": 669016644742283288,
                        "timestamp": 1654605976,
                        "pre_dy_id": 669007814298959974,
                        "orig_dy_id": 669007814298959974,
                        "uid_type": 1,
                        "stype": 0,
                        "r_type": 1,
                        "inner_id": 0,
                        "status": 1,
                        "dynamic_id_str": "669016644742283288",
                        "pre_dy_id_str": "669007814298959974",
                        "orig_dy_id_str": "669007814298959974",
                        "rid_str": "669016644698939384"
                    }
                },
                "card": "{ \"user\": { \"uid\": 478909651, \"uname\": \"-牛马之玉\", \"face\": \"http:\\/\\/i0.hdslb.com\\/bfs\\/face\\/member\\/noface.jpg\" }, \"item\": { \"rp_id\": 669023160171702063, \"uid\": 478909651, \"content\": \"\\/\\/@哔哩哔哩直播:6月8日KPL首届夏季赛火热开赛,明星主播花式解说!开赛首日直播间礼品...\", \"ctrl\": \"[{\\\"location\\\":2,\\\"length\\\":7,\\\"data\\\":\\\"9617619\\\",\\\"type\\\":1}]\", \"orig_dy_id\": 669007814298959974, \"pre_dy_id\": 669016644742283288, \"timestamp\": 0, \"at_uids\": [ 9617619 ], \"orig_type\": 2 }, \"origin\": \"{\\\"item\\\":{\\\"at_control\\\":\\\"[{\\\\\\\"location\\\\\\\":0,\\\\\\\"length\\\\\\\":4,\\\\\\\"data\\\\\\\":\\\\\\\"4\\\\\\\",\\\\\\\"type\\\\\\\":2}]\\\",\\\"category\\\":\\\"daily\\\",\\\"description\\\":\\\"互动抽奖 【上B站,看KPL】\\\\r\\\\nKPL首届夏季赛即将来袭,6月8日15:00B站55官方直播间等你来看!你最期待哪场对决呢?更有多位明星主播陪你观赛,趣味吐槽花式解说开赛首日~\\\\r\\\\n\\\\r\\\\n55直播间马超-无双飞将皮肤助力金撒不停,赛事全程天选好礼每局掉落,观赛还能领取游戏内道具!APP端参与直播间【热议】讨论,更有机会获超多奖励。\\\\r\\\\n\\\\r\\\\nKPL赛事征稿开赛日同步上线,带#KPL激励计划#话题投稿,瓜分30万奖金~\\\\r\\\\n战火将燃,谁将勇夺开门红,让我们拭目以待! [打call]\\\\n\\\\n直播间TP:https:\\\\\\/\\\\\\/live.bilibili.com\\\\\\/55 \\\\n赛事预测:https:\\\\\\/\\\\\\/www.bilibili.com\\\\\\/v\\\\\\/game\\\\\\/match\\\\\\/competition?spm_id_from=444.42.0.0 \\\\n更多比赛:https:\\\\\\/\\\\\\/www.bilibili.com\\\\\\/v\\\\\\/game\\\\\\/match\\\\\\/schedule?mid=0&gid=0&tid=0&time=1639785600000&spm_id_from=444.42.0.0\\\",\\\"id\\\":196658860,\\\"is_fav\\\":0,\\\"pictures\\\":[{\\\"img_height\\\":6758,\\\"img_size\\\":4693.3251953125,\\\"img_src\\\":\\\"https:\\\\\\/\\\\\\/i0.hdslb.com\\\\\\/bfs\\\\\\/album\\\\\\/d4fd33fe00c80938daf6f14641f15901bc4a0d17.jpg\\\",\\\"img_tags\\\":null,\\\"img_width\\\":1080}],\\\"pictures_count\\\":1,\\\"reply\\\":128,\\\"role\\\":[],\\\"settings\\\":{\\\"copy_forbidden\\\":\\\"0\\\"},\\\"source\\\":[],\\\"title\\\":\\\"\\\",\\\"upload_time\\\":1654603920},\\\"user\\\":{\\\"head_url\\\":\\\"http:\\\\\\/\\\\\\/i0.hdslb.com\\\\\\/bfs\\\\\\/face\\\\\\/50de7906e50260c0e596d54ca51687e58ed7a9ba.jpg\\\",\\\"name\\\":\\\"哔哩哔哩王者荣耀赛事\\\",\\\"uid\\\":392836434,\\\"vip\\\":{\\\"avatar_subscript\\\":1,\\\"due_date\\\":1661097600000,\\\"label\\\":{\\\"label_theme\\\":\\\"annual_vip\\\",\\\"path\\\":\\\"\\\",\\\"text\\\":\\\"年度大会员\\\"},\\\"nickname_color\\\":\\\"#FB7299\\\",\\\"status\\\":1,\\\"theme_type\\\":0,\\\"type\\\":2,\\\"vip_pay_type\\\":0}}}\", \"origin_extension\": { \"lott\": \"{\\\"lottery_id\\\":96074}\" }, \"origin_extend_json\": \"{\\\"ctrl\\\":[{\\\"data\\\":\\\"4\\\",\\\"length\\\":4,\\\"location\\\":0,\\\"type\\\":2}],\\\"from\\\":{\\\"emoji_type\\\":1,\\\"from\\\":\\\"create.dynamic.web\\\",\\\"verify\\\":{\\\"aegis_enable\\\":true,\\\"asw\\\":{},\\\"cc\\\":{},\\\"csw\\\":{},\\\"dc\\\":{},\\\"gc\\\":{},\\\"ra\\\":{},\\\"sp\\\":{},\\\"sw\\\":{},\\\"ur\\\":{},\\\"verify_first\\\":true}},\\\"like_icon\\\":{\\\"action\\\":\\\"\\\",\\\"action_url\\\":\\\"\\\",\\\"end\\\":\\\"\\\",\\\"end_url\\\":\\\"\\\",\\\"start\\\":\\\"\\\",\\\"start_url\\\":\\\"\\\"},\\\"lott\\\":{\\\"lottery_id\\\":96074},\\\"topic\\\":{\\\"is_attach_topic\\\":1}}\", \"origin_user\": { \"info\": { \"uid\": 392836434, \"uname\": \"哔哩哔哩王者荣耀赛事\", \"face\": \"http:\\/\\/i0.hdslb.com\\/bfs\\/face\\/50de7906e50260c0e596d54ca51687e58ed7a9ba.jpg\", \"face_nft\": 0 }, \"card\": { \"official_verify\": { \"type\": 1, \"desc\": \"哔哩哔哩王者荣耀赛事官方帐号\" } }, \"vip\": { \"vipType\": 2, \"vipDueDate\": 1661097600000, \"vipStatus\": 1, \"themeType\": 0, \"label\": { \"path\": \"\", \"text\": \"年度大会员\", \"label_theme\": \"annual_vip\", \"text_color\": \"#FFFFFF\", \"bg_style\": 1, \"bg_color\": \"#FB7299\", \"border_color\": \"\" }, \"avatar_subscript\": 1, \"nickname_color\": \"#FB7299\", \"role\": 3, \"avatar_subscript_url\": \"http:\\/\\/i0.hdslb.com\\/bfs\\/vip\\/icon_Certification_big_member_22_3x.png\" }, \"pendant\": { \"pid\": 0, \"name\": \"\", \"image\": \"\", \"expire\": 0, \"image_enhance\": \"\", \"image_enhance_frame\": \"\" }, \"rank\": \"10000\", \"sign\": \"哔哩哔哩王者荣耀赛事官方账号\", \"level_info\": { \"current_level\": 6 } } }",
                "extend_json": "{\"\":{\"at_mids\":[{\"at_type\":2,\"mid_list\":[9617619]}],\"content\":\"\\/\\/@哔哩哔哩直播:6月8日KPL首届夏季赛火热开赛,明星主播花式解说!开赛首日直播间礼品...\",\"data_type\":2,\"need_send_msg\":true,\"publisher\":478909651},\"ctrl\":[{\"data\":\"9617619\",\"length\":7,\"location\":2,\"type\":1}],\"from\":{\"emoji_type\":1,\"from\":\"create.fast_repost\",\"verify\":{\"aegis_enable\":true,\"asw\":{},\"cc\":{},\"csw\":{},\"dc\":{},\"gc\":{},\"ra\":{},\"sp\":{},\"sw\":{},\"ur\":{}}},\"like_icon\":{\"action\":\"\",\"action_url\":\"\",\"end\":\"\",\"end_url\":\"\",\"start\":\"\",\"start_url\":\"\"}}",
                "display": {
                    "origin": {
                        "emoji_info": {
                            "emoji_details": [
                                {
                                    "emoji_name": "[打call]",
                                    "id": 510,
                                    "package_id": 1,
                                    "state": 0,
                                    "type": 1,
                                    "attr": 0,
                                    "text": "[打call]",
                                    "url": "http://i0.hdslb.com/bfs/emote/431432c43da3ee5aab5b0e4f8931953e649e9975.png",
                                    "meta": {
                                        "size": 1
                                    },
                                    "mtime": 1648834168
                                }
                            ]
                        },
                        "relation": {
                            "status": 1,
                            "is_follow": 0,
                            "is_followed": 0
                        }
                    },
                    "relation": {
                        "status": 1,
                        "is_follow": 0,
                        "is_followed": 0
                    }
                }
            },
            {
                "desc": {
                    "uid": 37906788,
                    "type": 1,
                    "rid": 669022472968542526,
                    "acl": 0,
                    "view": 0,
                    "repost": 0,
                    "like": 0,
                    "is_liked": 0,
                    "dynamic_id": 669022473022341136,
                    "timestamp": 1654607333,
                    "pre_dy_id": 669016644742283288,
                    "orig_dy_id": 669007814298959974,
                    "orig_type": 2,
                    "user_profile": {
                        "info": {
                            "uid": 37906788,
                            "uname": "整天就想吃桃子",
                            "face": "http://i0.hdslb.com/bfs/face/388f29bb0e426d625378b99eec690775467ebb00.jpg",
                            "face_nft": 0
                        },
                        "card": {
                            "official_verify": {
                                "type": -1,
                                "desc": ""
                            }
                        },
                        "vip": {
                            "vipType": 2,
                            "vipDueDate": 1712073600000,
                            "vipStatus": 1,
                            "themeType": 0,
                            "label": {
                                "path": "",
                                "text": "年度大会员",
                                "label_theme": "annual_vip",
                                "text_color": "#FFFFFF",
                                "bg_style": 1,
                                "bg_color": "#FB7299",
                                "border_color": ""
                            },
                            "avatar_subscript": 1,
                            "nickname_color": "#FB7299",
                            "role": 3,
                            "avatar_subscript_url": "http://i0.hdslb.com/bfs/vip/icon_Certification_big_member_22_3x.png"
                        },
                        "pendant": {
                            "pid": 0,
                            "name": "",
                            "image": "",
                            "expire": 0,
                            "image_enhance": "",
                            "image_enhance_frame": ""
                        },
                        "rank": "10000",
                        "sign": "",
                        "level_info": {
                            "current_level": 5
                        }
                    },
                    "uid_type": 1,
                    "stype": 0,
                    "r_type": 1,
                    "inner_id": 0,
                    "status": 1,
                    "dynamic_id_str": "669022473022341136",
                    "pre_dy_id_str": "669016644742283288",
                    "orig_dy_id_str": "669007814298959974",
                    "rid_str": "669022472968542526",
                    "origin": {
                        "uid": 392836434,
                        "type": 2,
                        "rid": 196658860,
                        "acl": 1024,
                        "view": 46111,
                        "repost": 1446,
                        "like": 0,
                        "dynamic_id": 669007814298959974,
                        "timestamp": 1654603920,
                        "pre_dy_id": 0,
                        "orig_dy_id": 0,
                        "uid_type": 1,
                        "stype": 0,
                        "r_type": 0,
                        "inner_id": 0,
                        "status": 1,
                        "dynamic_id_str": "669007814298959974",
                        "pre_dy_id_str": "0",
                        "orig_dy_id_str": "0",
                        "rid_str": "196658860"
                    },
                    "previous": {
                        "uid": 9617619,
                        "type": 1,
                        "rid": 669016644698939384,
                        "acl": 1024,
                        "view": 1381,
                        "repost": 3,
                        "like": 0,
                        "dynamic_id": 669016644742283288,
                        "timestamp": 1654605976,
                        "pre_dy_id": 669007814298959974,
                        "orig_dy_id": 669007814298959974,
                        "uid_type": 1,
                        "stype": 0,
                        "r_type": 1,
                        "inner_id": 0,
                        "status": 1,
                        "dynamic_id_str": "669016644742283288",
                        "pre_dy_id_str": "669007814298959974",
                        "orig_dy_id_str": "669007814298959974",
                        "rid_str": "669016644698939384"
                    }
                },
                "card": "{ \"user\": { \"uid\": 37906788, \"uname\": \"整天就想吃桃子\", \"face\": \"http:\\/\\/i0.hdslb.com\\/bfs\\/face\\/388f29bb0e426d625378b99eec690775467ebb00.jpg\" }, \"item\": { \"rp_id\": 669022472968542526, \"uid\": 37906788, \"content\": \"\\/\\/@哔哩哔哩直播:6月8日KPL首届夏季赛火热开赛,明星主播花式解说!开赛首日直播间礼品不定时掉...\", \"ctrl\": \"[{\\\"location\\\":2,\\\"length\\\":7,\\\"data\\\":\\\"9617619\\\",\\\"type\\\":1}]\", \"orig_dy_id\": 669007814298959974, \"pre_dy_id\": 669016644742283288, \"timestamp\": 0, \"at_uids\": [ 9617619 ], \"orig_type\": 2 }, \"origin\": \"{\\\"item\\\":{\\\"at_control\\\":\\\"[{\\\\\\\"location\\\\\\\":0,\\\\\\\"length\\\\\\\":4,\\\\\\\"data\\\\\\\":\\\\\\\"4\\\\\\\",\\\\\\\"type\\\\\\\":2}]\\\",\\\"category\\\":\\\"daily\\\",\\\"description\\\":\\\"互动抽奖 【上B站,看KPL】\\\\r\\\\nKPL首届夏季赛即将来袭,6月8日15:00B站55官方直播间等你来看!你最期待哪场对决呢?更有多位明星主播陪你观赛,趣味吐槽花式解说开赛首日~\\\\r\\\\n\\\\r\\\\n55直播间马超-无双飞将皮肤助力金撒不停,赛事全程天选好礼每局掉落,观赛还能领取游戏内道具!APP端参与直播间【热议】讨论,更有机会获超多奖励。\\\\r\\\\n\\\\r\\\\nKPL赛事征稿开赛日同步上线,带#KPL激励计划#话题投稿,瓜分30万奖金~\\\\r\\\\n战火将燃,谁将勇夺开门红,让我们拭目以待! [打call]\\\\n\\\\n直播间TP:https:\\\\\\/\\\\\\/live.bilibili.com\\\\\\/55 \\\\n赛事预测:https:\\\\\\/\\\\\\/www.bilibili.com\\\\\\/v\\\\\\/game\\\\\\/match\\\\\\/competition?spm_id_from=444.42.0.0 \\\\n更多比赛:https:\\\\\\/\\\\\\/www.bilibili.com\\\\\\/v\\\\\\/game\\\\\\/match\\\\\\/schedule?mid=0&gid=0&tid=0&time=1639785600000&spm_id_from=444.42.0.0\\\",\\\"id\\\":196658860,\\\"is_fav\\\":0,\\\"pictures\\\":[{\\\"img_height\\\":6758,\\\"img_size\\\":4693.3251953125,\\\"img_src\\\":\\\"https:\\\\\\/\\\\\\/i0.hdslb.com\\\\\\/bfs\\\\\\/album\\\\\\/d4fd33fe00c80938daf6f14641f15901bc4a0d17.jpg\\\",\\\"img_tags\\\":null,\\\"img_width\\\":1080}],\\\"pictures_count\\\":1,\\\"reply\\\":128,\\\"role\\\":[],\\\"settings\\\":{\\\"copy_forbidden\\\":\\\"0\\\"},\\\"source\\\":[],\\\"title\\\":\\\"\\\",\\\"upload_time\\\":1654603920},\\\"user\\\":{\\\"head_url\\\":\\\"http:\\\\\\/\\\\\\/i0.hdslb.com\\\\\\/bfs\\\\\\/face\\\\\\/50de7906e50260c0e596d54ca51687e58ed7a9ba.jpg\\\",\\\"name\\\":\\\"哔哩哔哩王者荣耀赛事\\\",\\\"uid\\\":392836434,\\\"vip\\\":{\\\"avatar_subscript\\\":1,\\\"due_date\\\":1661097600000,\\\"label\\\":{\\\"label_theme\\\":\\\"annual_vip\\\",\\\"path\\\":\\\"\\\",\\\"text\\\":\\\"年度大会员\\\"},\\\"nickname_color\\\":\\\"#FB7299\\\",\\\"status\\\":1,\\\"theme_type\\\":0,\\\"type\\\":2,\\\"vip_pay_type\\\":0}}}\", \"origin_extension\": { \"lott\": \"{\\\"lottery_id\\\":96074}\" }, \"origin_extend_json\": \"{\\\"ctrl\\\":[{\\\"data\\\":\\\"4\\\",\\\"length\\\":4,\\\"location\\\":0,\\\"type\\\":2}],\\\"from\\\":{\\\"emoji_type\\\":1,\\\"from\\\":\\\"create.dynamic.web\\\",\\\"verify\\\":{\\\"aegis_enable\\\":true,\\\"asw\\\":{},\\\"cc\\\":{},\\\"csw\\\":{},\\\"dc\\\":{},\\\"gc\\\":{},\\\"ra\\\":{},\\\"sp\\\":{},\\\"sw\\\":{},\\\"ur\\\":{},\\\"verify_first\\\":true}},\\\"like_icon\\\":{\\\"action\\\":\\\"\\\",\\\"action_url\\\":\\\"\\\",\\\"end\\\":\\\"\\\",\\\"end_url\\\":\\\"\\\",\\\"start\\\":\\\"\\\",\\\"start_url\\\":\\\"\\\"},\\\"lott\\\":{\\\"lottery_id\\\":96074},\\\"topic\\\":{\\\"is_attach_topic\\\":1}}\", \"origin_user\": { \"info\": { \"uid\": 392836434, \"uname\": \"哔哩哔哩王者荣耀赛事\", \"face\": \"http:\\/\\/i0.hdslb.com\\/bfs\\/face\\/50de7906e50260c0e596d54ca51687e58ed7a9ba.jpg\", \"face_nft\": 0 }, \"card\": { \"official_verify\": { \"type\": 1, \"desc\": \"哔哩哔哩王者荣耀赛事官方帐号\" } }, \"vip\": { \"vipType\": 2, \"vipDueDate\": 1661097600000, \"vipStatus\": 1, \"themeType\": 0, \"label\": { \"path\": \"\", \"text\": \"年度大会员\", \"label_theme\": \"annual_vip\", \"text_color\": \"#FFFFFF\", \"bg_style\": 1, \"bg_color\": \"#FB7299\", \"border_color\": \"\" }, \"avatar_subscript\": 1, \"nickname_color\": \"#FB7299\", \"role\": 3, \"avatar_subscript_url\": \"http:\\/\\/i0.hdslb.com\\/bfs\\/vip\\/icon_Certification_big_member_22_3x.png\" }, \"pendant\": { \"pid\": 0, \"name\": \"\", \"image\": \"\", \"expire\": 0, \"image_enhance\": \"\", \"image_enhance_frame\": \"\" }, \"rank\": \"10000\", \"sign\": \"哔哩哔哩王者荣耀赛事官方账号\", \"level_info\": { \"current_level\": 6 } } }",
                "extend_json": "{\"\":{\"at_mids\":[{\"at_type\":2,\"mid_list\":[9617619]}],\"content\":\"\\/\\/@哔哩哔哩直播:6月8日KPL首届夏季赛火热开赛,明星主播花式解说!开赛首日直播间礼品不定时掉...\",\"data_type\":2,\"need_send_msg\":true,\"publisher\":37906788},\"ctrl\":[{\"data\":\"9617619\",\"length\":7,\"location\":2,\"type\":1}],\"from\":{\"emoji_type\":1,\"from\":\"create.fast_repost\",\"verify\":{\"aegis_enable\":true,\"asw\":{},\"cc\":{},\"csw\":{},\"dc\":{},\"gc\":{},\"ra\":{},\"sp\":{},\"sw\":{},\"ur\":{}}},\"like_icon\":{\"action\":\"\",\"action_url\":\"\",\"end\":\"\",\"end_url\":\"\",\"start\":\"\",\"start_url\":\"\"}}",
                "display": {
                    "origin": {
                        "emoji_info": {
                            "emoji_details": [
                                {
                                    "emoji_name": "[打call]",
                                    "id": 510,
                                    "package_id": 1,
                                    "state": 0,
                                    "type": 1,
                                    "attr": 0,
                                    "text": "[打call]",
                                    "url": "http://i0.hdslb.com/bfs/emote/431432c43da3ee5aab5b0e4f8931953e649e9975.png",
                                    "meta": {
                                        "size": 1
                                    },
                                    "mtime": 1648834168
                                }
                            ]
                        },
                        "relation": {
                            "status": 1,
                            "is_follow": 0,
                            "is_followed": 0
                        }
                    },
                    "relation": {
                        "status": 1,
                        "is_follow": 0,
                        "is_followed": 0
                    }
                }
            },
            {
                "desc": {
                    "uid": 586724890,
                    "type": 1,
                    "rid": 669019754258423810,
                    "acl": 0,
                    "view": 0,
                    "repost": 0,
                    "like": 0,
                    "is_liked": 0,
                    "dynamic_id": 669019754292314181,
                    "timestamp": 1654606700,
                    "pre_dy_id": 669016644742283288,
                    "orig_dy_id": 669007814298959974,
                    "orig_type": 2,
                    "user_profile": {
                        "info": {
                            "uid": 586724890,
                            "uname": "雪羽枭白",
                            "face": "http://i1.hdslb.com/bfs/face/a270f0df9a621d6d7f05a0ff94c64bad5fcb6964.jpg",
                            "face_nft": 0
                        },
                        "card": {
                            "official_verify": {
                                "type": -1,
                                "desc": ""
                            }
                        },
                        "vip": {
                            "vipType": 0,
                            "vipDueDate": 0,
                            "vipStatus": 0,
                            "themeType": 0,
                            "label": {
                                "path": "",
                                "text": "",
                                "label_theme": "",
                                "text_color": "",
                                "bg_style": 0,
                                "bg_color": "",
                                "border_color": ""
                            },
                            "avatar_subscript": 0,
                            "nickname_color": "",
                            "role": 0,
                            "avatar_subscript_url": ""
                        },
                        "pendant": {
                            "pid": 0,
                            "name": "",
                            "image": "",
                            "expire": 0,
                            "image_enhance": "",
                            "image_enhance_frame": ""
                        },
                        "rank": "10000",
                        "sign": "芜湖,起飞~",
                        "level_info": {
                            "current_level": 4
                        }
                    },
                    "uid_type": 1,
                    "stype": 0,
                    "r_type": 1,
                    "inner_id": 0,
                    "status": 1,
                    "dynamic_id_str": "669019754292314181",
                    "pre_dy_id_str": "669016644742283288",
                    "orig_dy_id_str": "669007814298959974",
                    "rid_str": "669019754258423810",
                    "origin": {
                        "uid": 392836434,
                        "type": 2,
                        "rid": 196658860,
                        "acl": 1024,
                        "view": 46111,
                        "repost": 1446,
                        "like": 0,
                        "dynamic_id": 669007814298959974,
                        "timestamp": 1654603920,
                        "pre_dy_id": 0,
                        "orig_dy_id": 0,
                        "uid_type": 1,
                        "stype": 0,
                        "r_type": 0,
                        "inner_id": 0,
                        "status": 1,
                        "dynamic_id_str": "669007814298959974",
                        "pre_dy_id_str": "0",
                        "orig_dy_id_str": "0",
                        "rid_str": "196658860"
                    },
                    "previous": {
                        "uid": 9617619,
                        "type": 1,
                        "rid": 669016644698939384,
                        "acl": 1024,
                        "view": 1381,
                        "repost": 3,
                        "like": 0,
                        "dynamic_id": 669016644742283288,
                        "timestamp": 1654605976,
                        "pre_dy_id": 669007814298959974,
                        "orig_dy_id": 669007814298959974,
                        "uid_type": 1,
                        "stype": 0,
                        "r_type": 1,
                        "inner_id": 0,
                        "status": 1,
                        "dynamic_id_str": "669016644742283288",
                        "pre_dy_id_str": "669007814298959974",
                        "orig_dy_id_str": "669007814298959974",
                        "rid_str": "669016644698939384"
                    }
                },
                "card": "{ \"user\": { \"uid\": 586724890, \"uname\": \"雪羽枭白\", \"face\": \"http:\\/\\/i1.hdslb.com\\/bfs\\/face\\/a270f0df9a621d6d7f05a0ff94c64bad5fcb6964.jpg\" }, \"item\": { \"rp_id\": 669019754258423810, \"uid\": 586724890, \"content\": \"\\/\\/@哔哩哔哩直播:6月8日KPL首届夏季赛火热开赛,明星主播花式解说!开赛首日直播间礼品不定时掉落,记得好好蹲守哦~明天15点,2022KPL夏季赛我们不见不散>>>网页链接\", \"ctrl\": \"[{\\\"location\\\":2,\\\"length\\\":7,\\\"data\\\":\\\"9617619\\\",\\\"type\\\":1}]\", \"orig_dy_id\": 669007814298959974, \"pre_dy_id\": 669016644742283288, \"timestamp\": 0, \"at_uids\": [ 9617619 ], \"orig_type\": 2 }, \"origin\": \"{\\\"item\\\":{\\\"at_control\\\":\\\"[{\\\\\\\"location\\\\\\\":0,\\\\\\\"length\\\\\\\":4,\\\\\\\"data\\\\\\\":\\\\\\\"4\\\\\\\",\\\\\\\"type\\\\\\\":2}]\\\",\\\"category\\\":\\\"daily\\\",\\\"description\\\":\\\"互动抽奖 【上B站,看KPL】\\\\r\\\\nKPL首届夏季赛即将来袭,6月8日15:00B站55官方直播间等你来看!你最期待哪场对决呢?更有多位明星主播陪你观赛,趣味吐槽花式解说开赛首日~\\\\r\\\\n\\\\r\\\\n55直播间马超-无双飞将皮肤助力金撒不停,赛事全程天选好礼每局掉落,观赛还能领取游戏内道具!APP端参与直播间【热议】讨论,更有机会获超多奖励。\\\\r\\\\n\\\\r\\\\nKPL赛事征稿开赛日同步上线,带#KPL激励计划#话题投稿,瓜分30万奖金~\\\\r\\\\n战火将燃,谁将勇夺开门红,让我们拭目以待! [打call]\\\\n\\\\n直播间TP:https:\\\\\\/\\\\\\/live.bilibili.com\\\\\\/55 \\\\n赛事预测:https:\\\\\\/\\\\\\/www.bilibili.com\\\\\\/v\\\\\\/game\\\\\\/match\\\\\\/competition?spm_id_from=444.42.0.0 \\\\n更多比赛:https:\\\\\\/\\\\\\/www.bilibili.com\\\\\\/v\\\\\\/game\\\\\\/match\\\\\\/schedule?mid=0&gid=0&tid=0&time=1639785600000&spm_id_from=444.42.0.0\\\",\\\"id\\\":196658860,\\\"is_fav\\\":0,\\\"pictures\\\":[{\\\"img_height\\\":6758,\\\"img_size\\\":4693.3251953125,\\\"img_src\\\":\\\"https:\\\\\\/\\\\\\/i0.hdslb.com\\\\\\/bfs\\\\\\/album\\\\\\/d4fd33fe00c80938daf6f14641f15901bc4a0d17.jpg\\\",\\\"img_tags\\\":null,\\\"img_width\\\":1080}],\\\"pictures_count\\\":1,\\\"reply\\\":128,\\\"role\\\":[],\\\"settings\\\":{\\\"copy_forbidden\\\":\\\"0\\\"},\\\"source\\\":[],\\\"title\\\":\\\"\\\",\\\"upload_time\\\":1654603920},\\\"user\\\":{\\\"head_url\\\":\\\"http:\\\\\\/\\\\\\/i0.hdslb.com\\\\\\/bfs\\\\\\/face\\\\\\/50de7906e50260c0e596d54ca51687e58ed7a9ba.jpg\\\",\\\"name\\\":\\\"哔哩哔哩王者荣耀赛事\\\",\\\"uid\\\":392836434,\\\"vip\\\":{\\\"avatar_subscript\\\":1,\\\"due_date\\\":1661097600000,\\\"label\\\":{\\\"label_theme\\\":\\\"annual_vip\\\",\\\"path\\\":\\\"\\\",\\\"text\\\":\\\"年度大会员\\\"},\\\"nickname_color\\\":\\\"#FB7299\\\",\\\"status\\\":1,\\\"theme_type\\\":0,\\\"type\\\":2,\\\"vip_pay_type\\\":0}}}\", \"origin_extension\": { \"lott\": \"{\\\"lottery_id\\\":96074}\" }, \"origin_extend_json\": \"{\\\"ctrl\\\":[{\\\"data\\\":\\\"4\\\",\\\"length\\\":4,\\\"location\\\":0,\\\"type\\\":2}],\\\"from\\\":{\\\"emoji_type\\\":1,\\\"from\\\":\\\"create.dynamic.web\\\",\\\"verify\\\":{\\\"aegis_enable\\\":true,\\\"asw\\\":{},\\\"cc\\\":{},\\\"csw\\\":{},\\\"dc\\\":{},\\\"gc\\\":{},\\\"ra\\\":{},\\\"sp\\\":{},\\\"sw\\\":{},\\\"ur\\\":{},\\\"verify_first\\\":true}},\\\"like_icon\\\":{\\\"action\\\":\\\"\\\",\\\"action_url\\\":\\\"\\\",\\\"end\\\":\\\"\\\",\\\"end_url\\\":\\\"\\\",\\\"start\\\":\\\"\\\",\\\"start_url\\\":\\\"\\\"},\\\"lott\\\":{\\\"lottery_id\\\":96074},\\\"topic\\\":{\\\"is_attach_topic\\\":1}}\", \"origin_user\": { \"info\": { \"uid\": 392836434, \"uname\": \"哔哩哔哩王者荣耀赛事\", \"face\": \"http:\\/\\/i0.hdslb.com\\/bfs\\/face\\/50de7906e50260c0e596d54ca51687e58ed7a9ba.jpg\", \"face_nft\": 0 }, \"card\": { \"official_verify\": { \"type\": 1, \"desc\": \"哔哩哔哩王者荣耀赛事官方帐号\" } }, \"vip\": { \"vipType\": 2, \"vipDueDate\": 1661097600000, \"vipStatus\": 1, \"themeType\": 0, \"label\": { \"path\": \"\", \"text\": \"年度大会员\", \"label_theme\": \"annual_vip\", \"text_color\": \"#FFFFFF\", \"bg_style\": 1, \"bg_color\": \"#FB7299\", \"border_color\": \"\" }, \"avatar_subscript\": 1, \"nickname_color\": \"#FB7299\", \"role\": 3, \"avatar_subscript_url\": \"http:\\/\\/i0.hdslb.com\\/bfs\\/vip\\/icon_Certification_big_member_22_3x.png\" }, \"pendant\": { \"pid\": 0, \"name\": \"\", \"image\": \"\", \"expire\": 0, \"image_enhance\": \"\", \"image_enhance_frame\": \"\" }, \"rank\": \"10000\", \"sign\": \"哔哩哔哩王者荣耀赛事官方账号\", \"level_info\": { \"current_level\": 6 } } }",
                "extend_json": "{\"\":{\"at_mids\":[{\"at_type\":2,\"mid_list\":[9617619]}],\"content\":\"\\/\\/@哔哩哔哩直播:6月8日KPL首届夏季赛火热开赛,明星主播花式解说!开赛首日直播间礼品不定时掉落,记得好好蹲守哦~明天15点,2022KPL夏季赛我们不见不散>>>网页链接\",\"data_type\":2,\"need_send_msg\":true,\"publisher\":586724890},\"ctrl\":[{\"data\":\"9617619\",\"length\":7,\"location\":2,\"type\":1}],\"from\":{\"emoji_type\":1,\"from\":\"create.dynamic.web\",\"verify\":{\"aegis_enable\":true,\"asw\":{},\"cc\":{},\"csw\":{},\"dc\":{},\"gc\":{},\"ra\":{},\"sp\":{},\"sw\":{},\"ur\":{}}},\"like_icon\":{\"action\":\"\",\"action_url\":\"\",\"end\":\"\",\"end_url\":\"\",\"start\":\"\",\"start_url\":\"\"}}",
                "display": {
                    "origin": {
                        "emoji_info": {
                            "emoji_details": [
                                {
                                    "emoji_name": "[打call]",
                                    "id": 510,
                                    "package_id": 1,
                                    "state": 0,
                                    "type": 1,
                                    "attr": 0,
                                    "text": "[打call]",
                                    "url": "http://i0.hdslb.com/bfs/emote/431432c43da3ee5aab5b0e4f8931953e649e9975.png",
                                    "meta": {
                                        "size": 1
                                    },
                                    "mtime": 1648834168
                                }
                            ]
                        },
                        "relation": {
                            "status": 1,
                            "is_follow": 0,
                            "is_followed": 0
                        }
                    },
                    "relation": {
                        "status": 1,
                        "is_follow": 0,
                        "is_followed": 0
                    }
                }
            }
        ],
        "_gt_": 0
    }
}

实际的响应

{"code":0,"msg":"","message":"","data":{"_gt_":0}}

目前的问题:会导致本项目的t.bilibili.com类型抽奖失效,在获取动态真实ID时崩溃。

经过我个人测试,发现附带登录态cookie时,才是期望响应,可以推断B站对API进行了鉴权,目前新版API还未鉴权,建议迁移至新的API(即综合动态API)

Forgot-Dream commented 1 year ago

目前项目使用t.bilibili.com类型的链接进行抽奖时会崩溃。

LeoChen98 commented 1 year ago

问题已经重现,实际情况为api转移到了https://api.bilibili.com/x/polymer/web-dynamic/v1/detail?id={dynamic_id}&features=itemOpusStyle

无cookies响应文本为:

{
    "code": 0,
    "message": "0",
    "ttl": 1,
    "data": {
        "item": {
            "basic": {
                "comment_id_str": "669016644742283288",
                "comment_type": 17,
                "like_icon": {
                    "action_url": "",
                    "end_url": "",
                    "id": 0,
                    "start_url": ""
                },
                "rid_str": "669016644698939384"
            },
            "id_str": "669016644742283288",
            "modules": {
                "module_author": {
                    "avatar": {
                        "container_size": {
                            "height": 1.35,
                            "width": 1.35
                        },
                        "fallback_layers": {
                            "is_critical_group": true,
                            "layers": [
                                {
                                    "general_spec": {
                                        "pos_spec": {
                                            "axis_x": 0.675,
                                            "axis_y": 0.675,
                                            "coordinate_pos": 2
                                        },
                                        "render_spec": {
                                            "opacity": 1
                                        },
                                        "size_spec": {
                                            "height": 1,
                                            "width": 1
                                        }
                                    },
                                    "layer_config": {
                                        "is_critical": true,
                                        "tags": {
                                            "AVATAR_LAYER": {},
                                            "GENERAL_CFG": {
                                                "config_type": 1,
                                                "general_config": {
                                                    "web_css_style": {
                                                        "borderRadius": "50%"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "resource": {
                                        "res_image": {
                                            "image_src": {
                                                "placeholder": 6,
                                                "remote": {
                                                    "bfs_style": "widget-layer-avatar",
                                                    "url": "https://i0.hdslb.com/bfs/face/8f6a614a48a3813d90da7a11894ae56a59396fcd.jpg"
                                                },
                                                "src_type": 1
                                            }
                                        },
                                        "res_type": 3
                                    },
                                    "visible": true
                                },
                                {
                                    "general_spec": {
                                        "pos_spec": {
                                            "axis_x": 0.8000000000000002,
                                            "axis_y": 0.8000000000000002,
                                            "coordinate_pos": 1
                                        },
                                        "render_spec": {
                                            "opacity": 1
                                        },
                                        "size_spec": {
                                            "height": 0.41666666666666663,
                                            "width": 0.41666666666666663
                                        }
                                    },
                                    "layer_config": {
                                        "tags": {
                                            "GENERAL_CFG": {
                                                "config_type": 1,
                                                "general_config": {
                                                    "web_css_style": {
                                                        "background-color": "rgb(255,255,255)",
                                                        "border": "2px solid rgba(255,255,255,1)",
                                                        "borderRadius": "50%",
                                                        "boxSizing": "border-box"
                                                    }
                                                }
                                            },
                                            "ICON_LAYER": {}
                                        }
                                    },
                                    "resource": {
                                        "res_image": {
                                            "image_src": {
                                                "local": 4,
                                                "src_type": 2
                                            }
                                        },
                                        "res_type": 3
                                    },
                                    "visible": true
                                }
                            ]
                        },
                        "mid": "9617619"
                    },
                    "face": "https://i0.hdslb.com/bfs/face/8f6a614a48a3813d90da7a11894ae56a59396fcd.jpg",
                    "face_nft": false,
                    "following": null,
                    "jump_url": "//space.bilibili.com/9617619/dynamic",
                    "label": "",
                    "mid": 9617619,
                    "name": "哔哩哔哩直播",
                    "official_verify": {
                        "desc": "",
                        "type": 1
                    },
                    "pendant": {
                        "expire": 0,
                        "image": "",
                        "image_enhance": "",
                        "image_enhance_frame": "",
                        "name": "",
                        "pid": 0
                    },
                    "pub_action": "",
                    "pub_location_text": "",
                    "pub_time": "2022年06月07日 20:46",
                    "pub_ts": 1654605976,
                    "type": "AUTHOR_TYPE_NORMAL",
                    "vip": {
                        "avatar_subscript": 1,
                        "avatar_subscript_url": "",
                        "due_date": 1697817600000,
                        "label": {
                            "bg_color": "#FB7299",
                            "bg_style": 1,
                            "border_color": "",
                            "img_label_uri_hans": "",
                            "img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/8d4f8bfc713826a5412a0a27eaaac4d6b9ede1d9.png",
                            "img_label_uri_hant": "",
                            "img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/VEW8fCC0hg.png",
                            "label_theme": "annual_vip",
                            "path": "",
                            "text": "年度大会员",
                            "text_color": "#FFFFFF",
                            "use_img_label": true
                        },
                        "nickname_color": "#FB7299",
                        "status": 1,
                        "theme_type": 0,
                        "type": 2
                    }
                },
                "module_dynamic": {
                    "additional": null,
                    "desc": {
                        "rich_text_nodes": [
                            {
                                "orig_text": "6月8日KPL首届夏季赛火热开赛,明星主播花式解说!开赛首日直播间礼品不定时掉落,记得好好蹲守哦~明天15点,2022KPL夏季赛我们不见不散\u003e\u003e\u003e",
                                "text": "6月8日KPL首届夏季赛火热开赛,明星主播花式解说!开赛首日直播间礼品不定时掉落,记得好好蹲守哦~明天15点,2022KPL夏季赛我们不见不散\u003e\u003e\u003e",
                                "type": "RICH_TEXT_NODE_TYPE_TEXT"
                            },
                            {
                                "jump_url": "https://live.bilibili.com/55",
                                "orig_text": "https://live.bilibili.com/55",
                                "text": "网页链接",
                                "type": "RICH_TEXT_NODE_TYPE_WEB"
                            }
                        ],
                        "text": "6月8日KPL首届夏季赛火热开赛,明星主播花式解说!开赛首日直播间礼品不定时掉落,记得好好蹲守哦~明天15点,2022KPL夏季赛我们不见不散\u003e\u003e\u003ehttps://live.bilibili.com/55"
                    },
                    "major": null,
                    "topic": null
                },
                "module_more": {
                    "three_point_items": [
                        {
                            "label": "举报",
                            "type": "THREE_POINT_REPORT"
                        }
                    ]
                },
                "module_stat": {
                    "comment": {
                        "count": 44,
                        "forbidden": false
                    },
                    "forward": {
                        "count": 15,
                        "forbidden": false
                    },
                    "like": {
                        "count": 2381,
                        "forbidden": false,
                        "status": false
                    }
                }
            },
            "orig": {
                "basic": {
                    "comment_id_str": "",
                    "comment_type": 0,
                    "jump_url": "//www.bilibili.com/opus/669007814298959974",
                    "like_icon": {
                        "action_url": "",
                        "end_url": "",
                        "id": 0,
                        "start_url": ""
                    },
                    "rid_str": ""
                },
                "id_str": "669007814298959974",
                "modules": {
                    "module_author": {
                        "avatar": {
                            "container_size": {
                                "height": 1.35,
                                "width": 1.35
                            },
                            "fallback_layers": {
                                "is_critical_group": true,
                                "layers": [
                                    {
                                        "general_spec": {
                                            "pos_spec": {
                                                "axis_x": 0.675,
                                                "axis_y": 0.675,
                                                "coordinate_pos": 2
                                            },
                                            "render_spec": {
                                                "opacity": 1
                                            },
                                            "size_spec": {
                                                "height": 1,
                                                "width": 1
                                            }
                                        },
                                        "layer_config": {
                                            "is_critical": true,
                                            "tags": {
                                                "AVATAR_LAYER": {},
                                                "GENERAL_CFG": {
                                                    "config_type": 1,
                                                    "general_config": {
                                                        "web_css_style": {
                                                            "borderRadius": "50%"
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "resource": {
                                            "res_image": {
                                                "image_src": {
                                                    "placeholder": 6,
                                                    "remote": {
                                                        "bfs_style": "widget-layer-avatar",
                                                        "url": "https://i0.hdslb.com/bfs/face/df9bb92bae388740db3869a4e2c76448c01e1d0c.jpg"
                                                    },
                                                    "src_type": 1
                                                }
                                            },
                                            "res_type": 3
                                        },
                                        "visible": true
                                    },
                                    {
                                        "general_spec": {
                                            "pos_spec": {
                                                "axis_x": 0.8000000000000002,
                                                "axis_y": 0.8000000000000002,
                                                "coordinate_pos": 1
                                            },
                                            "render_spec": {
                                                "opacity": 1
                                            },
                                            "size_spec": {
                                                "height": 0.41666666666666663,
                                                "width": 0.41666666666666663
                                            }
                                        },
                                        "layer_config": {
                                            "tags": {
                                                "GENERAL_CFG": {
                                                    "config_type": 1,
                                                    "general_config": {
                                                        "web_css_style": {
                                                            "background-color": "rgb(255,255,255)",
                                                            "border": "2px solid rgba(255,255,255,1)",
                                                            "borderRadius": "50%",
                                                            "boxSizing": "border-box"
                                                        }
                                                    }
                                                },
                                                "ICON_LAYER": {}
                                            }
                                        },
                                        "resource": {
                                            "res_image": {
                                                "image_src": {
                                                    "local": 4,
                                                    "src_type": 2
                                                }
                                            },
                                            "res_type": 3
                                        },
                                        "visible": true
                                    }
                                ]
                            },
                            "mid": "392836434"
                        },
                        "decorate": {
                            "card_url": "https://i0.hdslb.com/bfs/garb/item/30327669cc0b5b94b8c0bca32d14d66298017851.png",
                            "fan": {
                                "color": "#dbba90",
                                "is_fan": true,
                                "num_str": "000001",
                                "number": 1
                            },
                            "id": 41253,
                            "jump_url": "https://www.bilibili.com/h5/mall/equity-link/home?navhide=1\u0026item_id=41284\u0026part=card\u0026f_source=garb\u0026from=post\u0026isdiy=0",
                            "name": "2022王者荣耀世冠粉丝",
                            "type": 3
                        },
                        "face": "https://i0.hdslb.com/bfs/face/df9bb92bae388740db3869a4e2c76448c01e1d0c.jpg",
                        "face_nft": false,
                        "following": null,
                        "jump_url": "//space.bilibili.com/392836434/dynamic",
                        "label": "",
                        "mid": 392836434,
                        "name": "哔哩哔哩王者荣耀赛事",
                        "official_verify": {
                            "desc": "",
                            "type": 1
                        },
                        "pendant": {
                            "expire": 0,
                            "image": "",
                            "image_enhance": "",
                            "image_enhance_frame": "",
                            "name": "",
                            "pid": 0
                        },
                        "pub_action": "",
                        "pub_time": "",
                        "pub_ts": 1654603920,
                        "type": "AUTHOR_TYPE_NORMAL",
                        "vip": {
                            "avatar_subscript": 1,
                            "avatar_subscript_url": "",
                            "due_date": 1693843200000,
                            "label": {
                                "bg_color": "#FB7299",
                                "bg_style": 1,
                                "border_color": "",
                                "img_label_uri_hans": "",
                                "img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/8d4f8bfc713826a5412a0a27eaaac4d6b9ede1d9.png",
                                "img_label_uri_hant": "",
                                "img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/VEW8fCC0hg.png",
                                "label_theme": "annual_vip",
                                "path": "",
                                "text": "年度大会员",
                                "text_color": "#FFFFFF",
                                "use_img_label": true
                            },
                            "nickname_color": "#FB7299",
                            "status": 1,
                            "theme_type": 0,
                            "type": 2
                        }
                    },
                    "module_dynamic": {
                        "additional": null,
                        "desc": {
                            "rich_text_nodes": [
                                {
                                    "orig_text": "互动抽奖",
                                    "rid": "96074",
                                    "text": "互动抽奖",
                                    "type": "RICH_TEXT_NODE_TYPE_LOTTERY"
                                },
                                {
                                    "orig_text": " 【上B站,看KPL】\r\nKPL首届夏季赛即将来袭,6月8日15:00B站55官方直播间等你来看!你最期待哪场对决呢?更有多位明星主播陪你观赛,趣味吐槽花式解说开赛首日~\r\n\r\n55直播间马超-无双飞将皮肤助力金撒不停,赛事全程天选好礼每局掉落,观赛还能领取游戏内道具!APP端参与直播间【热议】讨论,更有机会获超多奖励。\r\n\r\nKPL赛事征稿开赛日同步上线,带",
                                    "text": " 【上B站,看KPL】\r\nKPL首届夏季赛即将来袭,6月8日15:00B站55官方直播间等你来看!你最期待哪场对决呢?更有多位明星主播陪你观赛,趣味吐槽花式解说开赛首日~\r\n\r\n55直播间马超-无双飞将皮肤助力金撒不停,赛事全程天选好礼每局掉落,观赛还能领取游戏内道具!APP端参与直播间【热议】讨论,更有机会获超多奖励。\r\n\r\nKPL赛事征稿开赛日同步上线,带",
                                    "type": "RICH_TEXT_NODE_TYPE_TEXT"
                                },
                                {
                                    "jump_url": "//search.bilibili.com/all?keyword=KPL%E6%BF%80%E5%8A%B1%E8%AE%A1%E5%88%92",
                                    "orig_text": "#KPL激励计划#",
                                    "text": "#KPL激励计划#",
                                    "type": "RICH_TEXT_NODE_TYPE_TOPIC"
                                },
                                {
                                    "orig_text": "话题投稿,瓜分30万奖金~\r\n战火将燃,谁将勇夺开门红,让我们拭目以待! ",
                                    "text": "话题投稿,瓜分30万奖金~\r\n战火将燃,谁将勇夺开门红,让我们拭目以待! ",
                                    "type": "RICH_TEXT_NODE_TYPE_TEXT"
                                },
                                {
                                    "emoji": {
                                        "icon_url": "https://i0.hdslb.com/bfs/emote/431432c43da3ee5aab5b0e4f8931953e649e9975.png",
                                        "size": 1,
                                        "text": "[打call]",
                                        "type": 1
                                    },
                                    "orig_text": "[打call]",
                                    "text": "[打call]",
                                    "type": "RICH_TEXT_NODE_TYPE_EMOJI"
                                },
                                {
                                    "orig_text": "\n\n直播间TP:",
                                    "text": "\n\n直播间TP:",
                                    "type": "RICH_TEXT_NODE_TYPE_TEXT"
                                },
                                {
                                    "jump_url": "https://live.bilibili.com/55",
                                    "orig_text": "https://live.bilibili.com/55",
                                    "text": "网页链接",
                                    "type": "RICH_TEXT_NODE_TYPE_WEB"
                                },
                                {
                                    "orig_text": " \n赛事预测:",
                                    "text": " \n赛事预测:",
                                    "type": "RICH_TEXT_NODE_TYPE_TEXT"
                                },
                                {
                                    "jump_url": "https://www.bilibili.com/v/game/match/competition?spm_id_from=444.42.0.0",
                                    "orig_text": "https://www.bilibili.com/v/game/match/competition?spm_id_from=444.42.0.0",
                                    "text": "网页链接",
                                    "type": "RICH_TEXT_NODE_TYPE_WEB"
                                },
                                {
                                    "orig_text": " \n更多比赛:",
                                    "text": " \n更多比赛:",
                                    "type": "RICH_TEXT_NODE_TYPE_TEXT"
                                },
                                {
                                    "jump_url": "https://www.bilibili.com/v/game/match/schedule?mid=0\u0026gid=0\u0026tid=0\u0026time=1639785600000\u0026spm_id_from=444.42.0.0",
                                    "orig_text": "https://www.bilibili.com/v/game/match/schedule?mid=0\u0026gid=0\u0026tid=0\u0026time=1639785600000\u0026spm_id_from=444.42.0.0",
                                    "text": "网页链接",
                                    "type": "RICH_TEXT_NODE_TYPE_WEB"
                                }
                            ],
                            "text": "互动抽奖 【上B站,看KPL】\r\nKPL首届夏季赛即将来袭,6月8日15:00B站55官方直播间等你来看!你最期待哪场对决呢?更有多位明星主播陪你观赛,趣味吐槽花式解说开赛首日~\r\n\r\n55直播间马超-无双飞将皮肤助力金撒不停,赛事全程天选好礼每局掉落,观赛还能领取游戏内道具!APP端参与直播间【热议】讨论,更有机会获超多奖励。\r\n\r\nKPL赛事征稿开赛日同步上线,带#KPL激励计划#话题投稿,瓜分30万奖金~\r\n战火将燃,谁将勇夺开门红,让我们拭目以待! [打call]\n\n直播间TP:https://live.bilibili.com/55 \n赛事预测:https://www.bilibili.com/v/game/match/competition?spm_id_from=444.42.0.0 \n更多比赛:https://www.bilibili.com/v/game/match/schedule?mid=0\u0026gid=0\u0026tid=0\u0026time=1639785600000\u0026spm_id_from=444.42.0.0"
                        },
                        "major": {
                            "draw": {
                                "id": 196658860,
                                "items": [
                                    {
                                        "height": 6758,
                                        "size": 4693.325,
                                        "src": "https://i0.hdslb.com/bfs/album/d4fd33fe00c80938daf6f14641f15901bc4a0d17.jpg",
                                        "tags": [],
                                        "width": 1080
                                    }
                                ]
                            },
                            "type": "MAJOR_TYPE_DRAW"
                        },
                        "topic": {
                            "id": 38783,
                            "jump_url": "https://m.bilibili.com/topic-detail?topic_id=38783\u0026topic_name=2022KPL%E5%A4%8F%E5%AD%A3%E8%B5%9B",
                            "name": "2022KPL夏季赛"
                        }
                    }
                },
                "type": "DYNAMIC_TYPE_DRAW",
                "visible": true
            },
            "type": "DYNAMIC_TYPE_FORWARD",
            "visible": true
        }
    }
}

由于目前B站动态默认页面已经转移到opus下,具体需求不明,所以t.bilibili.com的问题在短期内估计我不会腾时间解决,如果你愿意对代码进行修改的话,欢迎提pull request。