0


webcast_uid转sec_uid,webcast_uid转uid,webcast_uid转抖音号

来看下效果:


输入用户webcast_uid: MS4wLjOkdbyS-uRqcBSBPAtPCDwAEEj9Z4UE-mpZxFicq0d1lD5lOBJ0twXtfl6UNKiz7qM

直接转换:

{
    "data": {
        "id": 184333354929022,
        "short_id": 55235077464,
        "nickname": "辛吉飞",
        "gender": 0,
        "signature": "拥抱进步吧!",
        "level": 0,
        "birthday": 0,
        "telephone": "",
        "avatar_thumb": {
            "url_list": [
               
                "https://p26.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_fc0d7d3807dd28f585c97e6557616acf.jpeg?from=3067671334"
            ],
            "uri": "100x100/aweme-avatar/tos-cn-avt-0015_fc0d7d3807dd28f585c97e6557616acf",
            "height": 0,
            "width": 0,
            "avg_color": "",
            "image_type": 0,
            "open_web_url": "",
            "is_animated": false,
            "flex_setting_list": [],
            "text_setting_list": []
        },
        "avatar_medium": {
            "url_list": [
              
                "https://p26.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_fc0d7d3807dd28f585c97e6557616acf.jpeg?from=3067671334"
            ],
            "uri": "720x720/aweme-avatar/tos-cn-avt-0015_fc0d7d3807dd28f585c97e6557616acf",
            "height": 0,
            "width": 0,
            "avg_color": "",
            "image_type": 0,
            "open_web_url": "",
            "is_animated": false,
            "flex_setting_list": [],
            "text_setting_list": []
        },
        "avatar_large": {
            "url_list": [
               
                "https://p11.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_fc0d7d3807dd28f585c97e6557616acf.jpeg?from=3067671334"
            ],
            "uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_fc0d7d3807dd28f585c97e6557616acf",
            "height": 0,
            "width": 0,
            "avg_color": "",
            "image_type": 0,
            "open_web_url": "",
            "is_animated": false,
            "flex_setting_list": [],
            "text_setting_list": []
        },
        "verified": true,
        "experience": 0,
        "city": "杭州",
        "status": 1,
        "create_time": 0,
        "modify_time": 1701311918,
        "secret": 0,
        "share_qrcode_uri": "31c7100411718f23ce123",
        "income_share_percent": 0,
        "badge_image_list": [
            {
                "url_list": [
                  
                    "http://p6-webcast.douyinpic.com/img/webcast/new_user_grade_level_v1_3.png~tplv-obj.image"
                ],
                "uri": "webcast/new_user_grade_level_v1_3.png",
                "height": 16,
                "width": 32,
                "avg_color": "",
                "image_type": 1,
                "open_web_url": "",
                "content": {
                    "name": "",
                    "font_color": "",
                    "level": 3,
                    "alternative_text": "荣誉等级3级勋章"
                },
                "is_animated": false,
                "flex_setting_list": [],
                "text_setting_list": []
            }
        ],
        "follow_info": {
            "following_count": 50,
            "follower_count": 6487886,
            "follow_status": 0,
            "push_status": 0,
            "remark_name": "",
            "follower_count_str": "648.8万",
            "following_count_str": "50",
            "invalid_follow_status": false
        },
        "pay_grade": {
            "total_diamond_count": 0,
            "name": "",
            "next_name": "",
            "level": 3,
            "next_diamond": 0,
            "now_diamond": 0,
            "this_grade_min_diamond": 16,
            "this_grade_max_diamond": 29,
            "pay_diamond_bak": 0,
            "grade_describe": "",
            "grade_icon_list": [],
            "screen_chat_type": 0,
            "new_im_icon_with_level": {
                "url_list": [
                   
                    "http://p6-webcast.douyinpic.com/img/webcast/new_user_grade_level_v1_3.png~tplv-obj.image"
                ],
                "uri": "webcast/new_user_grade_level_v1_3.png",
                "height": 16,
                "width": 32,
                "avg_color": "",
                "image_type": 1,
                "open_web_url": "",
                "is_animated": false,
                "flex_setting_list": [],
                "text_setting_list": []
            },
            "new_live_icon": {
                "url_list": [
                    "http://p3-webcast.douyinpic.com/img/webcast/aweme_pay_grade_2x_1_4.png~tplv-obj.image",
                    "http://p11-webcast.douyinpic.com/img/webcast/aweme_pay_grade_2x_1_4.png~tplv-obj.image",
                    "http://p6-webcast.douyinpic.com/img/webcast/aweme_pay_grade_2x_1_4.png~tplv-obj.image"
                ],
                "uri": "webcast/aweme_pay_grade_2x_1_4.png",
                "height": 12,
                "width": 12,
                "avg_color": "",
                "image_type": 1,
                "open_web_url": "",
                "is_animated": false,
                "flex_setting_list": [],
                "text_setting_list": []
            },
            "upgrade_need_consume": 0,
            "next_privileges": "",
            "score": 0,
            "grade_describe_shining": false,
            "grade_banner": ""
        },
        "fans_club": {
            "data": {
                "club_name": "",
                "level": 0,
                "user_fans_club_status": 0,
                "badge": {
                    "icons": {
                        "0": {
                            "url_list": [],
                            "uri": "",
                            "height": 0,
                            "width": 0,
                            "avg_color": "",
                            "image_type": 0,
                            "open_web_url": "",
                            "is_animated": false,
                            "flex_setting_list": [],
                            "text_setting_list": []
                        }
                    },
                    "title": ""
                },
                "available_gift_ids": [],
                "anchor_id": 0,
                "badge_type": 0
            },
            "prefer_data": {}
        },
        "special_id": "",
        "real_time_icons": [],
        "new_real_time_icons": [],
        "top_vip_no": 0,
        "user_attr": {
            "is_muted": false,
            "is_admin": false,
            "is_super_admin": false,
            "admin_privileges": []
        },
        "pay_score": 0,
        "ticket_count": 0,
        "link_mic_stats": 1,
        "display_id": "55235077464",
        "with_commerce_permission": false,
        "with_fusion_shop_entry": false,
        "total_recharge_diamond_count": 0,
        "verified_content": "",
        "top_fans": [],
        "sec_uid": "MS4wLjABAAAAtDEAB_4s1NPAzh40StkJW0hmXRHwMGPGalpHhdoP5zc",
        "user_role": 0,
        "authorization_info": 3,
        "adversary_authorization_info": 3,
        "poi_info": {
            "is_poi_enabled": false,
            "poi_id": 0,
            "poi_name": "",
            "poi_id_str": "",
            "follower_count_permission": 1,
            "white_user_permission": 0
        },
        "media_badge_image_list": [],
        "adversary_user_status": 1,
        "commerce_webcast_config_ids": [],
        "badge_image_list_v2": [
            {
                "url_list": [
                    "http://p3-webcast.douyinpic.com/img/webcast/new_user_grade_level_v1_3.png~tplv-obj.image",
                    "http://p11-webcast.douyinpic.com/img/webcast/new_user_grade_level_v1_3.png~tplv-obj.image",
                    "http://p6-webcast.douyinpic.com/img/webcast/new_user_grade_level_v1_3.png~tplv-obj.image"
                ],
                "uri": "webcast/new_user_grade_level_v1_3.png",
                "height": 16,
                "width": 32,
                "avg_color": "",
                "image_type": 1,
                "open_web_url": "",
                "content": {
                    "name": "",
                    "font_color": "",
                    "level": 3,
                    "alternative_text": "荣誉等级3级勋章"
                },
                "is_animated": false,
                "flex_setting_list": [],
                "text_setting_list": []
            }
        ],
        "location_city": "杭州",
        "fans_group_info": {
            "list_fans_group_url": "sslocal://webcast_lynxview?height=754&radius=8&gravity=bottom&type=popup&animation_type=present&url=https%3A%2F%2Flf-webcast-sourcecdn-tos.bytegecko.com%2Fobj%2Fbyte-gurd-source%2Fwebcast%2Fmono%2Flynx%2Fdouyin_lynx_fansclub%2Ftemplate%2Fpages%2Ffansclub%2Ffans_group%2Fuser%2Ftemplate.js&load_taro=0&fallback_url=sslocal%3A%2F%2Fwebcast_webview%3Furl%3Dhttps%253A%252F%252Flf-webcast-sourcecdn-tos.bytegecko.com%252Fobj%252Fbyte-gurd-source%252Fwebcast%252Fmono%252Flynx%252Fdouyin_lynx_fansclub%252Ftemplate%252Fpages%252Ffansclub%252Ffans_group%252Fuser%252Findex.html%26type%3Dpopup%26gravity%3Dbottom%26height%3D754%26radius%3D8%26load_taro%3D0"
        },
        "remark_name": "",
        "mystery_man": 1,
        "web_rid": "",
        "desensitized_nickname": "",
        "j_accredit_info": {
            "JAccreditBasic": 0,
            "JAccreditAdvance": 0,
            "JAccreditContent": 0,
            "JAccreditLive": 0
        },
        "subscribe": {
            "is_member": false,
            "level": 0,
            "identity_type": 0,
            "buy_type": 0,
            "open": 0
        },
        "is_anonymous": false,
        "consume_diamond_level": 0,
        "webcast_uid": "MS4wLjOkdbyS-uRqcBSBPAtPCDwAEEj9Z4UE-mpZxFicq0d1lD5lOBJ0twXtfl6UNKiz7qM",
        "user_dress_info": {
            "dress_wear_ids": [],
            "dress_own_ids": []
        },
      
        "enable_ichat_img": 0,
        "exp": 0,
        "fan_ticket_count": 0,
        "fold_stranger_chat": false,
        "follow_status": 0,
        "hotsoon_verified": false,
        "hotsoon_verified_reason": "",
        "ichat_restrict_type": 0,
        "id_str": "184333354929022",
  
    },
    "extra": {
        "now": 1701315379190
    },
    "status_code": 0
}

通常情况下,在用户主页返回的数据中,有几个字段像sec_uid,uid,webcast_uid, short_id,display_id,通过sec_uid来识别一个用户的

但是我们通过抓包拿到的接口往往都是sec_uid,
而一个webcast_uid对应一个uid,所以这个时候我们就需要把webcast_uid转成uid。

标签: windows 数据库

本文转载自: https://blog.csdn.net/m0_56967679/article/details/134708918
版权归原作者 码农dddd 所有, 如有侵权,请联系我们删除。

“webcast_uid转sec_uid,webcast_uid转uid,webcast_uid转抖音号”的评论:

还没有评论