Comment url format vs video format #1093
Unanswered
zsengineer
asked this question in
Q&A
Replies: 1 comment
-
It is The URL format is like: https://www.bilibili.com/video/av1753785947#reply233952664256 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Firstly, awesome work and detailed documentation is very helpful. Does anyone know what the comment url would be for a specific video comment. For eg. a video url with this format still works:
http://www.bilibili.com/video/av1753785947
now viewing the comments in the browser, only one is visible and on some other videos up to 10 if lucky. If I am able to view all replies/comment ids from the request made, what would be the format of the url that would point to the comment: is mid?
http://www.bilibili.com/video/av1753785947-87992260
"rpid": 233952664256,
"oid": 1753785947,
"type": 1,
"mid": 87992260,
"root": 0,
Furukawa jellyfish bread
I remember a foreign kid singing[doge]
2024-05-31 11:31
{ "rpid": 233952664256, "oid": 1753785947, "type": 1, "mid": 87992260, "root": 0, "parent": 0, "dialog": 0, "count": 2, "rcount": 1, "state": 0, "fansgrade": 0, "attr": 0, "ctime": 1722060138, "mid_str": "87992260", "oid_str": "1753785947", "rpid_str": "233952664256", "root_str": "0", "parent_str": "0", "dialog_str": "0", "like": 39, "action": 0, "member": { "mid": "87992260", "uname": "变色龙sama", "sex": "保密", "sign": "喜欢音乐的魔法师", "avatar": "https://i1.hdslb.com/bfs/face/76d56c5c031ccbbc1a7bbd397bc082fe38b42767.jpg", "rank": "10000", "face_nft_new": 0, "is_senior_member": 0, "senior": {}, "level_info": { "current_level": 6, "current_min": 0, "current_exp": 0, "next_exp": 0 }, "pendant": { "pid": 0, "name": "", "image": "", "expire": 0, "image_enhance": "", "image_enhance_frame": "", "n_pid": 0 }, "nameplate": { "nid": 0, "name": "", "image": "", "image_small": "", "level": "", "condition": "" }, "official_verify": { "type": -1, "desc": "" }, "vip": { "vipType": 2, "vipDueDate": 1783785600000, "dueRemark": "", "accessStatus": 0, "vipStatus": 1, "vipStatusWarn": "", "themeType": 0, "label": { "path": "", "text": "年度大会员", "label_theme": "annual_vip", "text_color": "#FFFFFF", "bg_style": 1, "bg_color": "#FB7299", "border_color": "", "use_img_label": true, "img_label_uri_hans": "", "img_label_uri_hant": "", "img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/8d4f8bfc713826a5412a0a27eaaac4d6b9ede1d9.png", "img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/VEW8fCC0hg.png" }, "avatar_subscript": 1, "nickname_color": "#FB7299" }, "fans_detail": null, "user_sailing": { "pendant": null, "cardbg": { "id": 55656, "name": "艾恺特AKT勋章", "image": "http://i0.hdslb.com/bfs/archive/9d509adef3e28a5081a19254245c9caf2c68e73a.png", "jump_url": "https://www.bilibili.com/h5/mall/digital-card/home?act_id=139&from=reply&f_source=garb&-Abrowser=live&hybrid_set_header=2&navhide=1&anchor_task=1", "fan": { "is_fan": 1, "number": 25347, "color": "#BFC8D2", "name": "", "num_desc": "025347", "num_prefix": "CD.", "color_format": { "start_point": "0,0", "end_point": "100,100", "colors": [ "#B8C7D0FF", "#A2A7B0FF" ], "gradients": [ 0, 100 ] } }, "type": "collect_card", "image_group": null }, "cardbg_with_focus": null }, "user_sailing_v2": { "card_bg": { "id": 55656, "name": "艾恺特AKT勋章", "image": "http://i0.hdslb.com/bfs/archive/9d509adef3e28a5081a19254245c9caf2c68e73a.png", "jump_url": "https://www.bilibili.com/h5/mall/digital-card/home?act_id=139&from=reply&f_source=garb&-Abrowser=live&hybrid_set_header=2&navhide=1&anchor_task=1", "fan": { "is_fan": 1, "number": 25347, "color": "#BFC8D2", "num_desc": "025347", "num_prefix": "CD.", "color_format": { "start_point": "0,0", "end_point": "100,100", "colors": [ "#B8C7D0FF", "#A2A7B0FF" ], "gradients": [ 0, 100 ] } }, "type": "collect_card" } }, "is_contractor": false, "contract_desc": "", "nft_interaction": null, "avatar_item": { "container_size": { "width": 1.8, "height": 1.8 }, "fallback_layers": { "layers": [ { "visible": true, "general_spec": { "pos_spec": { "coordinate_pos": 2, "axis_x": 0.9, "axis_y": 0.9 }, "size_spec": { "width": 1, "height": 1 }, "render_spec": { "opacity": 1 } }, "layer_config": { "tags": { "AVATAR_LAYER": {} }, "is_critical": true, "layer_mask": { "general_spec": { "pos_spec": { "coordinate_pos": 2, "axis_x": 0.9, "axis_y": 0.9 }, "size_spec": { "width": 1, "height": 1 }, "render_spec": { "opacity": 1 } }, "mask_src": { "src_type": 3, "draw": { "draw_type": 1, "fill_mode": 1, "color_config": { "day": { "argb": "#FF000000" } } } } } }, "resource": { "res_type": 3, "res_image": { "image_src": { "src_type": 1, "placeholder": 6, "remote": { "url": "https://i1.hdslb.com/bfs/face/76d56c5c031ccbbc1a7bbd397bc082fe38b42767.jpg", "bfs_style": "widget-layer-avatar" } } } } }, { "visible": true, "general_spec": { "pos_spec": { "coordinate_pos": 1, "axis_x": 1.0333333333333332, "axis_y": 1.0333333333333332 }, "size_spec": { "width": 0.39999999999999997, "height": 0.39999999999999997 }, "render_spec": { "opacity": 1 } }, "layer_config": { "tags": { "ICON_LAYER": {} } }, "resource": { "res_type": 5, "res_native_draw": { "draw_src": { "src_type": 3, "draw": { "draw_type": 1, "fill_mode": 1, "color_config": { "is_dark_mode_aware": true, "day": { "argb": "#FFFFFFFF" }, "night": { "argb": "#FF17181A" } } } } } } }, { "visible": true, "general_spec": { "pos_spec": { "coordinate_pos": 1, "axis_x": 1.0666666666666667, "axis_y": 1.0666666666666667 }, "size_spec": { "width": 0.3333333333333333, "height": 0.3333333333333333 }, "render_spec": { "opacity": 1 } }, "layer_config": { "tags": { "ICON_LAYER": {} } }, "resource": { "res_type": 3, "res_image": { "image_src": { "src_type": 2, "local": 1 } } } } ], "is_critical_group": true }, "mid": "87992260" } }, "content": { "message": "看到能犹豫一下再点进来也是神人了[笑哭]", "members": [], "emote": { "[笑哭]": { "id": 509, "package_id": 1, "state": 0, "type": 1, "attr": 0, "text": "[笑哭]", "url": "https://i0.hdslb.com/bfs/emote/c3043ba94babf824dea03ce500d0e73763bf4f40.png", "meta": { "size": 1, "suggest": [ "" ] }, "mtime": 1668688325, "jump_title": "笑哭" } }, "jump_url": {}, "max_line": 6 }, "replies": [ { "rpid": 234805770176, "oid": 1753785947, "type": 1, "mid": 647562644, "root": 233952664256, "parent": 233952664256, "dialog": 234805770176, "count": 0, "rcount": 0, "state": 0, "fansgrade": 0, "attr": 0, "ctime": 1722413852, "mid_str": "647562644", "oid_str": "1753785947", "rpid_str": "234805770176", "root_str": "233952664256", "parent_str": "233952664256", "dialog_str": "234805770176", "like": 5, "action": 0, "member": { "mid": "647562644", "uname": "不夜长安与君识", "sex": "保密", "sign": "", "avatar": "https://i2.hdslb.com/bfs/face/2c6756de990d4438fd82a37b1705dbb028d8041c.jpg", "rank": "10000", "face_nft_new": 0, "is_senior_member": 0, "senior": {}, "level_info": { "current_level": 5, "current_min": 0, "current_exp": 0, "next_exp": 0 }, "pendant": { "pid": 0, "name": "", "image": "", "expire": 0, "image_enhance": "", "image_enhance_frame": "", "n_pid": 0 }, "nameplate": { "nid": 0, "name": "", "image": "", "image_small": "", "level": "", "condition": "" }, "official_verify": { "type": -1, "desc": "" }, "vip": { "vipType": 1, "vipDueDate": 1642867200000, "dueRemark": "", "accessStatus": 0, "vipStatus": 0, "vipStatusWarn": "", "themeType": 0, "label": { "path": "", "text": "", "label_theme": "", "text_color": "", "bg_style": 0, "bg_color": "", "border_color": "", "use_img_label": true, "img_label_uri_hans": "", "img_label_uri_hant": "", "img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/d7b702ef65a976b20ed854cbd04cb9e27341bb79.png", "img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/KJunwh19T5.png" }, "avatar_subscript": 0, "nickname_color": "" }, "fans_detail": null, "user_sailing": null, "is_contractor": false, "contract_desc": "", "nft_interaction": null, "avatar_item": { "container_size": { "width": 1.8, "height": 1.8 }, "fallback_layers": { "layers": [ { "visible": true, "general_spec": { "pos_spec": { "coordinate_pos": 2, "axis_x": 0.9, "axis_y": 0.9 }, "size_spec": { "width": 1, "height": 1 }, "render_spec": { "opacity": 1 } }, "layer_config": { "tags": { "AVATAR_LAYER": {} }, "is_critical": true, "layer_mask": { "general_spec": { "pos_spec": { "coordinate_pos": 2, "axis_x": 0.9, "axis_y": 0.9 }, "size_spec": { "width": 1, "height": 1 }, "render_spec": { "opacity": 1 } }, "mask_src": { "src_type": 3, "draw": { "draw_type": 1, "fill_mode": 1, "color_config": { "day": { "argb": "#FF000000" } } } } } }, "resource": { "res_type": 3, "res_image": { "image_src": { "src_type": 1, "placeholder": 6, "remote": { "url": "https://i2.hdslb.com/bfs/face/2c6756de990d4438fd82a37b1705dbb028d8041c.jpg", "bfs_style": "widget-layer-avatar" } } } } } ], "is_critical_group": true }, "mid": "647562644" } }, "content": { "message": "你再骂😡", "members": [], "jump_url": {}, "max_line": 6 }, "replies": null, "assist": 0, "up_action": { "like": false, "reply": false }, "invisible": false, "reply_control": { "max_line": 6, "time_desc": "31天前发布" }, "folder": { "has_folded": false, "is_folded": false, "rule": "" }, "dynamic_id_str": "0", "note_cvid_str": "0", "track_info": "" } ], "assist": 0, "up_action": { "like": false, "reply": false }, "invisible": false, "reply_control": { "max_line": 6, "sub_reply_entry_text": "共1条回复", "sub_reply_title_text": "相关回复共1条", "time_desc": "35天前发布" }, "folder": { "has_folded": false, "is_folded": false, "rule": "" }, "dynamic_id_str": "0", "note_cvid_str": "0", "track_info": "" }
Beta Was this translation helpful? Give feedback.
All reactions