快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

python怎么实现视频评论的回复列表

本文小编为大家详细介绍“python怎么实现视频评论的回复列表”,内容详细,步骤清晰,细节处理妥当,希望这篇“python怎么实现视频评论的回复列表”文章能帮助大家解决疑惑,下面跟着小编的思路慢慢深入,一起来学习新知识吧。

高坪网站制作公司哪家好,找成都创新互联公司!从网页设计、网站建设、微信开发、APP开发、成都响应式网站建设公司等网站项目制作,到程序开发,运营维护。成都创新互联公司于2013年开始到现在10年的时间,我们拥有了丰富的建站经验和运维经验,来保证我们的工作的顺利进行。专注于网站建设就选成都创新互联公司

请求Api

http://主机地址/douyin/video/comment/reply?token=xxx&aweme_id=6775695565771541767&cid=6775738616267554829&cursor=20

请求方式

GET

参数

字段类型说明
tokenstring接口授权码
aweme_idint视频的aweme_id
cidint需要获取回复列表的评论cid
cursorint翻页游标,根据结果返回的cursor传入作为下一页翻页参数,初始为0

返回示例

{
    "code":200,
    "data":{
        "comments":[
            {
                "aweme_id":"6775695565771541767",
                "cid":"6775841480150941699",
                "create_time":1577623534,
                "digg_count":6,
                "is_author_digged":false,
                "label_list":null,
                "reply_comment":null,
                "reply_id":"6775738616267554829",
                "reply_to_reply_id":"0",
                "status":1,
                "text":"三胎!儿子!!!!哈哈!!!",
                "text_extra":[
                ],
                "user":{
                    "accept_private_policy":false,
                    "account_region":"",
                    "ad_cover_url":null,
                    "apple_account":0,
                    "authority_status":0,
                    "avatar_168x168":{
                        "height":720,
                        "uri":"tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef",
                        "url_list":[
                            "https://p6-dy-ipv6.byteimg.com/img/tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef~c5_168x168.webp
                            "https://p3-dy-ipv6.byteimg.com/img/tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef~c5_168x168.webp
                            "https://p9-dy.byteimg.com/img/tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef~c5_168x168.webp
                        ],
                        "width":720
                    },
                    "avatar_300x300":{
                        "height":720,
                        "uri":"tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef",
                        "url_list":[
                            "https://p3-dy-ipv6.byteimg.com/img/tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef~c5_300x300.webp
                            "https://p29-dy.byteimg.com/img/tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef~c5_300x300.webp
                            "https://p6-dy-ipv6.byteimg.com/img/tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef~c5_300x300.webp
                        ],
                        "width":720
                    },
                    "avatar_larger":{
                        "height":720,
                        "uri":"tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef",
                        "url_list":[
                            "/upload/otherpic76/248932.jpg
                            "/upload/otherpic76/248933.jpg
                            "/upload/otherpic76/248934.jpg
                        ],
                        "width":720
                    },
                    "avatar_medium":{
                        "height":720,
                        "uri":"tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef",
                        "url_list":[
                            "/upload/otherpic76/248935.jpg
                            "/upload/otherpic76/248937.jpg
                            "/upload/otherpic76/248938.jpg
                        ],
                        "width":720
                    },
                    "avatar_thumb":{
                        "height":720,
                        "uri":"tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef",
                        "url_list":[
                            "/upload/otherpic76/248939.jpg
                            "/upload/otherpic76/248940.jpg
                            "/upload/otherpic76/248941.jpg
                        ],
                        "width":720
                    },
                    "avatar_uri":"tos-cn-i-0813/fb4fc537572d4bc3bbf7ff49cb572fef",
                    "aweme_count":0,
                    "bind_phone":"",
                    "birthday":"1990-01-01",
                    "can_set_geofencing":null,
                    "cha_list":null,
                    "comment_filter_status":0,
                    "comment_setting":0,
                    "commerce_user_level":0,
                    "constellation":11,
                    "cover_url":[
                        {
                            "height":720,
                            "uri":"c8510002be9a3a61aad2",
                            "url_list":[
                                "https://p9-dy.byteimg.com/obj/c8510002be9a3a61aad2?from=2956013662",
                                "https://p29-dy.byteimg.com/obj/c8510002be9a3a61aad2?from=2956013662",
                                "https://p3-dy-ipv6.byteimg.com/obj/c8510002be9a3a61aad2?from=2956013662"
                            ],
                            "width":720
                        }
                    ],
                    "create_time":0,
                    "custom_verify":"",
                    "cv_level":"",
                    "download_prompt_ts":0,
                    "download_setting":-1,
                    "duet_setting":0,
                    "enable_nearby_visible":true,
                    "enterprise_verify_reason":"",
                    "favoriting_count":0,
                    "fb_expire_time":0,
                    "follow_status":0,
                    "follower_count":0,
                    "follower_status":0,
                    "followers_detail":null,
                    "following_count":0,
                    "gender":1,
                    "geofencing":[
                    ],
                    "google_account":"",
                    "has_email":false,
                    "has_facebook_token":false,
                    "has_insights":false,
                    "has_orders":false,
                    "has_twitter_token":false,
                    "has_unread_story":false,
                    "has_youtube_token":false,
                    "hide_location":false,
                    "hide_search":false,
                    "homepage_bottom_toast":null,
                    "ins_id":"",
                    "is_ad_fake":false,
                    "is_binded_weibo":false,
                    "is_block":false,
                    "is_discipline_member":false,
                    "is_gov_media_vip":false,
                    "is_phone_binded":false,
                    "is_star":false,
                    "is_verified":true,
                    "item_list":null,
                    "language":"zh-Hans",
                    "live_agreement":0,
                    "live_agreement_time":0,
                    "live_commerce":false,
                    "live_verify":0,
                    "location":"",
                    "need_points":null,
                    "need_recommend":0,
                    "neiguang_shield":0,
                    "new_story_cover":null,
                    "nickname":"亦如春风亦如夏",
                    "platform_sync_info":null,
                    "prevent_download":false,
                    "react_setting":0,
                    "reflow_page_gid":0,
                    "reflow_page_uid":0,
                    "region":"CN",
                    "relative_users":null,
                    "room_id":0,
                    "school_name":"",
                    "school_poi_id":"",
                    "school_type":0,
                    "sec_uid":"MS4wLjABAAAAyKSnGBJuySXIMJfjwmmvbG5YJ7PmvwQ7hVVwg-A2Dfs",
                    "secret":0,
                    "shield_comment_notice":0,
                    "shield_digg_notice":0,
                    "shield_follow_notice":0,
                    "short_id":"1070595939",
                    "show_image_bubble":false,
                    "signature":"",
                    "special_lock":1,
                    "status":1,
                    "stitch_setting":0,
                    "story_count":0,
                    "story_open":false,
                    "sync_to_toutiao":0,
                    "total_favorited":0,
                    "tw_expire_time":0,
                    "twitter_id":"",
                    "twitter_name":"",
                    "type_label":null,
                    "uid":"99244300175",
                    "unique_id":"",
                    "unique_id_modify_time":1600095781,
                    "user_canceled":false,
                    "user_mode":0,
                    "user_period":0,
                    "user_rate":1,
                    "user_tags":null,
                    "verification_type":1,
                    "verify_info":"",
                    "video_icon":{
                        "height":720,
                        "uri":"",
                        "url_list":[
                        ],
                        "width":720
                    },
                    "weibo_name":"",
                    "weibo_schema":"",
                    "weibo_url":"",
                    "weibo_verify":"",
                    "white_cover_url":null,
                    "with_commerce_entry":false,
                    "with_dou_entry":false,
                    "with_fusion_shop_entry":false,
                    "with_shop_entry":false,
                    "youtube_channel_id":"",
                    "youtube_channel_title":"",
                    "youtube_expire_time":0
                },
                "user_buried":false,
                "user_digged":0
            },
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...},
            Object{...}
        ],
        "cursor":20,
        "extra":{
            "fatal_item_ids":[
            ],
            "logid":"202009142303010100280680822627C961",
            "now":1600095781000
        },
        "has_more":1,
        "log_pb":{
            "impr_id":"202009142303010100280680822627C961"
        },
        "status_code":0,
        "total":100
    },
    "msg":"success"
}

读到这里,这篇“python怎么实现视频评论的回复列表”文章已经介绍完毕,想要掌握这篇文章的知识点还需要大家自己动手实践使用过才能领会,如果想了解更多相关内容的文章,欢迎关注创新互联行业资讯频道。


新闻标题:python怎么实现视频评论的回复列表
本文来源:http://6mz.cn/article/ppcpge.html

其他资讯