抖音協議直播間彈幕資訊解析

TikTok工具箱發表於2020-12-02

前言:

       抖音直播間公屏資訊解析,說白了就是將抖音直播間公屏上加密的資料小白化,然後直接拉取出來儲存在本地,比如某某送了禮物、某某關注了主播、某某說了句什麼話、某某分享了直播間等等,這些資料儲存在本地後,可進行二次分析,具有一定的價值。

怎麼實現:

       1、使用jadx反編譯apk,或者反編譯抖音apk包中對應的某一個dex即可;

       2、找到直播間相關檔案(函式);

       3、分析關鍵函式,並抽取關鍵函式為己用;

       4、通過協議方式請求直播間資料(每間隔1秒請求一次),獲取返回資料(返回資料是加密過的);

       5、對返回資料進行解密。

jadx:

image.png

結果:

1、進入直播間訊息:

{
    "action": 1,
    "common": {
        "display_text": {
            "default_format": {
                "color": "#b8ffffff",
                "weight": 400
            },
            "default_pattern": "{0:user} 來了{1:string}",
            "key": "live_room_enter_toast",
            "pieces": [
                {
                    "format": {
                        "color": "#8CE7FF",
                        "weight": 400
                    },
                    "type": 11,
                    "user_value": {
                        "user": {
                            "avatar_thumb": {
                                "uri": "100x100/31b4100035fdb534a13bf",
                                "url_list": [
                                    "https://p3-dy.byteimg.com/aweme/100x100/31b4100035fdb534a13bf.jpeg?from\u003d4010531038",
                                    "https://p9-dy.byteimg.com/aweme/100x100/31b4100035fdb534a13bf.jpeg?from\u003d4010531038",
                                    "https://p29-dy.byteimg.com/aweme/100x100/31b4100035fdb534a13bf.jpeg?from\u003d4010531038"
                                ]
                            },
                            "badge_image_list": [
                                {
                                    "height": 16,
                                    "image_type": 1,
                                    "uri": "webcast/aweme_honor_level_icon_new_9.png",
                                    "url_list": [
                                        "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_9.png~tplv-obj.image",
                                        "http://p3-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_9.png~tplv-obj.image"
                                    ],
                                    "width": 32
                                }
                            ],
                            "display_id": "DY19940224",
                            "fans_club": {
                                "data": {
                                    "available_gift_ids": [],
                                    "badge": {
                                        "icons": {
                                            "0": {
                                                "url_list": []
                                            }
                                        }
                                    }
                                },
                                "prefer_data": {}
                            },
                            "follow_info": {
                                "follower_count": 1288,
                                "following_count": 1
                            },
                            "gender": 1,
                            "id": 92401378365,
                            "new_real_time_icons": [],
                            "nickname": "百小格",
                            "pay_grade": {
                                "grade_icon_list": [],
                                "level": 9,
                                "new_im_icon_with_level": {
                                    "height": 16,
                                    "image_type": 1,
                                    "uri": "webcast/aweme_honor_level_icon_new_9.png",
                                    "url_list": [
                                        "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_9.png~tplv-obj.image",
                                        "http://p3-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_9.png~tplv-obj.image"
                                    ],
                                    "width": 32
                                },
                                "new_live_icon": {
                                    "height": 12,
                                    "image_type": 1,
                                    "uri": "webcast/aweme_pay_grade_2x_5_9.png",
                                    "url_list": [
                                        "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_5_9.png~tplv-obj.image",
                                        "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_5_9.png~tplv-obj.image"
                                    ],
                                    "width": 12
                                }
                            },
                            "real_time_icons": [],
                            "sec_uid": "MS4wLjABAAAA9y_l6W8IqGhdMXCC7m0hE7nrCmYJc75tsvYSo-GJmaQ",
                            "short_id": 3468880547,
                            "top_fans": [],
                            "user_attr": {}
                        }
                    }
                }
            ]
        },
        "is_show_msg": true,
        "method": "WebcastMemberMessage",
        "msg_id": 6847185181007268612,
        "room_id": 6847101220063021837
    },
    "member_count": 6618,
    "user": {
        "avatar_thumb": {
            "uri": "100x100/31b4100035fdb534a13bf",
            "url_list": [
                "https://p3-dy.byteimg.com/aweme/100x100/31b4100035fdb534a13bf.jpeg?from\u003d4010531038",
                "https://p9-dy.byteimg.com/aweme/100x100/31b4100035fdb534a13bf.jpeg?from\u003d4010531038",
                "https://p29-dy.byteimg.com/aweme/100x100/31b4100035fdb534a13bf.jpeg?from\u003d4010531038"
            ]
        },
        "badge_image_list": [
            {
                "height": 16,
                "image_type": 1,
                "uri": "webcast/aweme_honor_level_icon_new_9.png",
                "url_list": [
                    "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_9.png~tplv-obj.image",
                    "http://p3-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_9.png~tplv-obj.image"
                ],
                "width": 32
            }
        ],
        "display_id": "DY19940224",
        "fans_club": {
            "data": {
                "available_gift_ids": [],
                "badge": {
                    "icons": {
                        "0": {
                            "url_list": []
                        }
                    }
                }
            },
            "prefer_data": {}
        },
        "follow_info": {
            "follower_count": 1288,
            "following_count": 1
        },
        "gender": 1,
        "id": 92401378365,
        "new_real_time_icons": [],
        "nickname": "百小格",
        "pay_grade": {
            "grade_icon_list": [],
            "level": 1,
            "new_im_icon_with_level": {
                "height": 16,
                "image_type": 1,
                "uri": "webcast/aweme_honor_level_icon_new_9.png",
                "url_list": [
                    "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_9.png~tplv-obj.image",
                    "http://p3-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_9.png~tplv-obj.image"
                ],
                "width": 32
            },
            "new_live_icon": {
                "height": 12,
                "image_type": 1,
                "uri": "webcast/aweme_pay_grade_2x_5_9.png",
                "url_list": [
                    "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_5_9.png~tplv-obj.image",
                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_5_9.png~tplv-obj.image"
                ],
                "width": 12
            }
        },
        "real_time_icons": [],
        "sec_uid": "MS4wLjABAAAA9y_l6W8IqGhdMXCC7m0hE7nrCmYJc75tsvYSo-GJmaQ",
        "short_id": 3468880547,
        "top_fans": [],
        "user_attr": {}
    }
}

2、互動訊息:

{
    "common": {
        "is_show_msg": true,
        "method": "WebcastChatMessage",
        "msg_id": 6847183653836016397,
        "room_id": 6847101220063021837
    },
    "content": "待夠半小時了,減一半才對",
    "user": {
        "avatar_thumb": {
            "uri": "100x100/tos-cn-i-0813/e358f89f76d44b4b8fb94e2beabcd348",
            "url_list": [
                "https://p9-dy.byteimg.com/img/tos-cn-i-0813/e358f89f76d44b4b8fb94e2beabcd348~c5_100x100.jpeg?from\u003d4010531038",
                "https://p6-dy-ipv6.byteimg.com/img/tos-cn-i-0813/e358f89f76d44b4b8fb94e2beabcd348~c5_100x100.jpeg?from\u003d4010531038",
                "https://p3-dy.byteimg.com/img/tos-cn-i-0813/e358f89f76d44b4b8fb94e2beabcd348~c5_100x100.jpeg?from\u003d4010531038"
            ]
        },
        "badge_image_list": [
            {
                "height": 16,
                "image_type": 1,
                "uri": "webcast/aweme_honor_level_icon_new_16.png",
                "url_list": [
                    "http://p3-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                ],
                "width": 32
            },
            {
                "image_type": 7,
                "uri": "webcast/vcd_aweme_fansclub_7.png",
                "url_list": [
                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_7.png~tplv-obj.image",
                    "http://p9-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_7.png~tplv-obj.image"
                ]
            }
        ],
        "display_id": "590243102",
        "fans_club": {
            "data": {
                "anchor_id": 101216169856,
                "available_gift_ids": [],
                "badge": {
                    "icons": {
                        "2": {
                            "uri": "webcast/vcd_aweme_fansclub_7.png",
                            "url_list": [
                                "http://p1-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_7.png~tplv-obj.image",
                                "http://p9-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_7.png~tplv-obj.image"
                            ]
                        }
                    },
                    "title": "浩家軍"
                },
                "club_name": "浩家軍",
                "level": 7,
                "user_fans_club_status": "Active"
            },
            "prefer_data": {
                "1": {
                    "anchor_id": 101216169856,
                    "available_gift_ids": [],
                    "badge": {
                        "icons": {
                            "2": {
                                "uri": "webcast/vcd_aweme_fansclub_7.png",
                                "url_list": [
                                    "http://p6-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_7.png~tplv-obj.image",
                                    "http://p9-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_7.png~tplv-obj.image"
                                ]
                            }
                        },
                        "title": "浩家軍"
                    },
                    "club_name": "浩家軍",
                    "level": 7,
                    "user_fans_club_status": "Active"
                }
            }
        },
        "follow_info": {
            "follower_count": 1,
            "following_count": 59
        },
        "gender": 2,
        "id": 61011336108,
        "new_real_time_icons": [],
        "nickname": "小小小小太陽吖",
        "pay_grade": {
            "grade_icon_list": [],
            "level": 16,
            "new_im_icon_with_level": {
                "height": 16,
                "image_type": 1,
                "uri": "webcast/aweme_honor_level_icon_new_16.png",
                "url_list": [
                    "http://p3-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                ],
                "width": 32
            },
            "new_live_icon": {
                "height": 12,
                "image_type": 1,
                "uri": "webcast/aweme_pay_grade_2x_15_19.png",
                "url_list": [
                    "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image",
                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image"
                ],
                "width": 12
            }
        },
        "real_time_icons": [],
        "sec_uid": "MS4wLjABAAAAstlNFvda1TAA3kuzDIzu_sYVO3TE4_Ft_7c3BVE04Tc",
        "short_id": 590243102,
        "top_fans": [],
        "user_attr": {}
    }
}

3、關注主播訊息:

{
    "action": 1,
    "common": {
        "display_text": {
            "default_format": {
                "color": "#8CE7FF",
                "weight": 400
            },
            "default_pattern": "{0:user} 關注了主播",
            "key": "room_follow_msg",
            "pieces": [
                {
                    "type": 11,
                    "user_value": {
                        "user": {
                            "avatar_thumb": {
                                "uri": "100x100/2fa2b0007d682105807df",
                                "url_list": [
                                    "https://p9-dy-ipv6.byteimg.com/aweme/100x100/2fa2b0007d682105807df.jpeg?from\u003d4010531038",
                                    "https://p6-dy-ipv6.byteimg.com/aweme/100x100/2fa2b0007d682105807df.jpeg?from\u003d4010531038",
                                    "https://p3-dy.byteimg.com/aweme/100x100/2fa2b0007d682105807df.jpeg?from\u003d4010531038"
                                ]
                            },
                            "badge_image_list": [
                                {
                                    "height": 16,
                                    "image_type": 1,
                                    "uri": "webcast/aweme_honor_level_icon_new_16.png",
                                    "url_list": [
                                        "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                                        "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                                    ],
                                    "width": 32
                                }
                            ],
                            "display_id": "hwly1818",
                            "fans_club": {
                                "data": {
                                    "available_gift_ids": [],
                                    "badge": {
                                        "icons": {
                                            "0": {
                                                "url_list": []
                                            }
                                        }
                                    }
                                },
                                "prefer_data": {}
                            },
                            "follow_info": {
                                "follower_count": 120,
                                "following_count": 215
                            },
                            "gender": 2,
                            "id": 109071585746,
                            "new_real_time_icons": [],
                            "nickname": "珠珠看世界",
                            "pay_grade": {
                                "grade_icon_list": [],
                                "level": 16,
                                "new_im_icon_with_level": {
                                    "height": 16,
                                    "image_type": 1,
                                    "uri": "webcast/aweme_honor_level_icon_new_16.png",
                                    "url_list": [
                                        "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                                        "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                                    ],
                                    "width": 32
                                },
                                "new_live_icon": {
                                    "height": 12,
                                    "image_type": 1,
                                    "uri": "webcast/aweme_pay_grade_2x_15_19.png",
                                    "url_list": [
                                        "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image",
                                        "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image"
                                    ],
                                    "width": 12
                                }
                            },
                            "real_time_icons": [],
                            "sec_uid": "MS4wLjABAAAA7109KnhzwVFBuYhNC_cY5JsyqWN787qX3qgUQpr9NqA",
                            "short_id": 1843245016,
                            "top_fans": [],
                            "user_attr": {}
                        }
                    }
                }
            ]
        },
        "is_show_msg": true,
        "method": "WebcastSocialMessage",
        "msg_id": 6847185487921367819,
        "room_id": 6847101220063021837
    },
    "follow_count": 276533,
    "share_target": "101216169856",
    "user": {
        "avatar_thumb": {
            "uri": "100x100/2fa2b0007d682105807df",
            "url_list": [
                "https://p9-dy-ipv6.byteimg.com/aweme/100x100/2fa2b0007d682105807df.jpeg?from\u003d4010531038",
                "https://p6-dy-ipv6.byteimg.com/aweme/100x100/2fa2b0007d682105807df.jpeg?from\u003d4010531038",
                "https://p3-dy.byteimg.com/aweme/100x100/2fa2b0007d682105807df.jpeg?from\u003d4010531038"
            ]
        },
        "badge_image_list": [
            {
                "height": 16,
                "image_type": 1,
                "uri": "webcast/aweme_honor_level_icon_new_16.png",
                "url_list": [
                    "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                ],
                "width": 32
            }
        ],
        "display_id": "hwly1818",
        "fans_club": {
            "data": {
                "available_gift_ids": [],
                "badge": {
                    "icons": {
                        "0": {
                            "url_list": []
                        }
                    }
                }
            },
            "prefer_data": {}
        },
        "follow_info": {
            "follower_count": 120,
            "following_count": 215
        },
        "gender": 2,
        "id": 109071585746,
        "new_real_time_icons": [],
        "nickname": "珠珠看世界",
        "pay_grade": {
            "grade_icon_list": [],
            "level": 16,
            "new_im_icon_with_level": {
                "height": 16,
                "image_type": 1,
                "uri": "webcast/aweme_honor_level_icon_new_16.png",
                "url_list": [
                    "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                ],
                "width": 32
            },
            "new_live_icon": {
                "height": 12,
                "image_type": 1,
                "uri": "webcast/aweme_pay_grade_2x_15_19.png",
                "url_list": [
                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image",
                    "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image"
                ],
                "width": 12
            }
        },
        "real_time_icons": [],
        "sec_uid": "MS4wLjABAAAA7109KnhzwVFBuYhNC_cY5JsyqWN787qX3qgUQpr9NqA",
        "short_id": 1843245016,
        "top_fans": [],
        "user_attr": {}
    }
}

4、送禮物訊息:

{
    "combo_count": 1,
    "common": {
        "create_time": 1594234647302,
        "describe": "袁先生:送給主播 1個粉絲團燈牌",
        "display_text": {
            "default_format": {
                "color": "#ffface15",
                "weight": 400
            },
            "default_pattern": "{0:user} 送出{1:gift} {2:string}",
            "key": "webcast_aweme_gift_send_message",
            "pieces": [
                {
                    "format": {
                        "color": "#ff8ce7ff",
                        "weight": 400
                    },
                    "type": 11,
                    "user_value": {
                        "user": {
                            "avatar_thumb": {
                                "uri": "100x100/1cab700074a01ee5ab1f2",
                                "url_list": [
                                    "https://p3-dy-ipv6.byteimg.com/aweme/100x100/1cab700074a01ee5ab1f2.jpeg?from\u003d4010531038",
                                    "https://p1-dy.byteimg.com/aweme/100x100/1cab700074a01ee5ab1f2.jpeg?from\u003d4010531038",
                                    "https://p29-dy.byteimg.com/aweme/100x100/1cab700074a01ee5ab1f2.jpeg?from\u003d4010531038"
                                ]
                            },
                            "badge_image_list": [
                                {
                                    "height": 16,
                                    "image_type": 1,
                                    "uri": "webcast/aweme_honor_level_icon_new_16.png",
                                    "url_list": [
                                        "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                                        "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                                    ],
                                    "width": 32
                                }
                            ],
                            "display_id": "qixin666666",
                            "fans_club": {
                                "data": {
                                    "anchor_id": 101216169856,
                                    "available_gift_ids": [],
                                    "badge": {
                                        "icons": {
                                            "2": {
                                                "uri": "webcast/vcd_aweme_fansclub_1_lightdown.png",
                                                "url_list": [
                                                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_1_lightdown.png~tplv-obj.image",
                                                    "http://p9-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_1_lightdown.png~tplv-obj.image"
                                                ]
                                            }
                                        },
                                        "title": "浩家軍"
                                    },
                                    "club_name": "浩家軍",
                                    "level": 1,
                                    "user_fans_club_status": "Inactive"
                                },
                                "prefer_data": {
                                    "1": {
                                        "anchor_id": 84064249580,
                                        "available_gift_ids": [],
                                        "badge": {
                                            "icons": {
                                                "2": {
                                                    "uri": "webcast/vcd_aweme_fansclub_10.png",
                                                    "url_list": [
                                                        "http://p3-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_10.png~tplv-obj.image",
                                                        "http://p1-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_10.png~tplv-obj.image"
                                                    ]
                                                }
                                            },
                                            "title": "忠哥"
                                        },
                                        "club_name": "忠哥",
                                        "level": 10,
                                        "user_fans_club_status": "Active"
                                    }
                                }
                            },
                            "follow_info": {
                                "follower_count": 208,
                                "following_count": 1638
                            },
                            "gender": 1,
                            "id": 98130261360,
                            "new_real_time_icons": [],
                            "nickname": "袁先生",
                            "pay_grade": {
                                "grade_icon_list": [],
                                "level": 16,
                                "new_im_icon_with_level": {
                                    "height": 16,
                                    "image_type": 1,
                                    "uri": "webcast/aweme_honor_level_icon_new_16.png",
                                    "url_list": [
                                        "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                                        "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                                    ],
                                    "width": 32
                                },
                                "new_live_icon": {
                                    "height": 12,
                                    "image_type": 1,
                                    "uri": "webcast/aweme_pay_grade_2x_15_19.png",
                                    "url_list": [
                                        "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image",
                                        "http://p3-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image"
                                    ],
                                    "width": 12
                                }
                            },
                            "real_time_icons": [],
                            "sec_uid": "MS4wLjABAAAA61jKrUdA8bYNRf4rKEFzLBEcvLbJvvNgcmCp1oxCxZg",
                            "short_id": 913977124,
                            "top_fans": [],
                            "user_attr": {}
                        }
                    }
                },
                {
                    "gift_value": {
                        "gift_id": 685,
                        "name_ref": {
                            "default_pattern": "粉絲團燈牌",
                            "key": "live_gift_685"
                        }
                    },
                    "type": 12
                },
                {
                    "format": {
                        "color": "#ffface15",
                        "weight": 400
                    },
                    "string_value": "x1",
                    "type": 1
                }
            ]
        },
        "is_show_msg": true,
        "method": "WebcastGiftMessage",
        "msg_id": 6847180931372075789,
        "room_id": 6847101220063021837
    },
    "fan_ticket_count": 446900824,
    "gift_id": 685,
    "group_count": 1,
    "repeat_count": 1,
    "room_fan_ticket_count": 4356714,
    "user": {
        "avatar_thumb": {
            "uri": "100x100/1cab700074a01ee5ab1f2",
            "url_list": [
                "https://p3-dy-ipv6.byteimg.com/aweme/100x100/1cab700074a01ee5ab1f2.jpeg?from\u003d4010531038",
                "https://p1-dy.byteimg.com/aweme/100x100/1cab700074a01ee5ab1f2.jpeg?from\u003d4010531038",
                "https://p29-dy.byteimg.com/aweme/100x100/1cab700074a01ee5ab1f2.jpeg?from\u003d4010531038"
            ]
        },
        "badge_image_list": [
            {
                "height": 16,
                "image_type": 1,
                "uri": "webcast/aweme_honor_level_icon_new_16.png",
                "url_list": [
                    "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                ],
                "width": 32
            }
        ],
        "display_id": "qixin666666",
        "fans_club": {
            "data": {
                "anchor_id": 101216169856,
                "available_gift_ids": [],
                "badge": {
                    "icons": {
                        "2": {
                            "uri": "webcast/vcd_aweme_fansclub_1_lightdown.png",
                            "url_list": [
                                "http://p1-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_1_lightdown.png~tplv-obj.image",
                                "http://p9-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_1_lightdown.png~tplv-obj.image"
                            ]
                        }
                    },
                    "title": "浩家軍"
                },
                "club_name": "浩家軍",
                "level": 1,
                "user_fans_club_status": "Inactive"
            },
            "prefer_data": {
                "1": {
                    "anchor_id": 84064249580,
                    "available_gift_ids": [],
                    "badge": {
                        "icons": {
                            "2": {
                                "uri": "webcast/vcd_aweme_fansclub_10.png",
                                "url_list": [
                                    "http://p3-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_10.png~tplv-obj.image",
                                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/vcd_aweme_fansclub_10.png~tplv-obj.image"
                                ]
                            }
                        },
                        "title": "忠哥"
                    },
                    "club_name": "忠哥",
                    "level": 10,
                    "user_fans_club_status": "Active"
                }
            }
        },
        "follow_info": {
            "follower_count": 208,
            "following_count": 1638
        },
        "gender": 1,
        "id": 98130261360,
        "new_real_time_icons": [],
        "nickname": "袁先生",
        "pay_grade": {
            "grade_icon_list": [],
            "level": 16,
            "new_im_icon_with_level": {
                "height": 16,
                "image_type": 1,
                "uri": "webcast/aweme_honor_level_icon_new_16.png",
                "url_list": [
                    "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                ],
                "width": 32
            },
            "new_live_icon": {
                "height": 12,
                "image_type": 1,
                "uri": "webcast/aweme_pay_grade_2x_15_19.png",
                "url_list": [
                    "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image",
                    "http://p3-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image"
                ],
                "width": 12
            }
        },
        "real_time_icons": [],
        "sec_uid": "MS4wLjABAAAA61jKrUdA8bYNRf4rKEFzLBEcvLbJvvNgcmCp1oxCxZg",
        "short_id": 913977124,
        "top_fans": [],
        "user_attr": {}
    }
}

還有很多其他公屏上的資訊可以解析出來,就不一一列舉了...

做了一個動圖,大夥感受下:

image

純協議,無需什麼模擬器指令碼什麼的,是不是很完美!!!

 

——————————————————————————————————————————————

TiToData:專業的短視訊、直播資料介面服務平臺。

更多資訊請聯絡: TiToData

覆蓋主流平臺:抖音,快手,小紅書,TikTok,YouTube

相關文章