温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

python怎么实现热门话题推荐功能

发布时间:2022-03-21 16:31:05 来源:亿速云 阅读:215 作者:iii 栏目:大数据

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

热门话题推荐

请求Api

http://主机地址/douyin/feed/funnytags?token=xxx

请求方式

GET

参数

字段类型说明
tokenstring接口授权码

返回示例

{     "code":200,     "data":{         "category_list":[             Object{...},             Object{...},             Object{...},             Object{...},             Object{...},             Object{...},             Object{...},             Object{...},             Object{...},             {                 "challenge_info":{                     "author":{                         "ad_cover_url":null,                         "can_set_geofencing":null,                         "cha_list":null,                         "cover_url":null,                         "followers_detail":null,                         "geofencing":null,                         "homepage_bottom_toast":null,                         "item_list":null,                         "need_points":null,                         "new_story_cover":null,                         "platform_sync_info":null,                         "relative_users":null,                         "type_label":null,                         "user_tags":null,                         "white_cover_url":null                     },                     "banner_list":null,                     "category_cover_info":{                         "aweme_id":"6872304402133257487",                         "cover":{                             "uri":"tos-cn-p-0015/367b488536a54648a8ca71f62276b47d",                             "url_list":[                                 "https://cache.yisu.com/upload/information/20210521/347/246146.jpg?from=2563711402_large",                                 "https://cache.yisu.com/upload/information/20210521/347/246147.jpg?from=2563711402_large",                                 "https://cache.yisu.com/upload/information/20210521/347/246148.jpg?from=2563711402_large"                             ]                         },                         "dynamic_cover":{                             "uri":"tos-cn-p-0015/411a0c5cbf214163a88669531923b1bd_1600083062",                             "url_list":[                                 "https://p3-dy-ipv6.byteimg.com/obj/tos-cn-p-0015/411a0c5cbf214163a88669531923b1bd_1600083062?from=2563711402_large",                                 "https://p6-dy-ipv6.byteimg.com/obj/tos-cn-p-0015/411a0c5cbf214163a88669531923b1bd_1600083062?from=2563711402_large",                                 "https://p29-dy.byteimg.com/obj/tos-cn-p-0015/411a0c5cbf214163a88669531923b1bd_1600083062?from=2563711402_large"                             ]                         }                     },                     "cha_attrs":null,                     "cha_name":"罔1云歌名起风了",                     "cid":"1674728436234252",                     "collect_stat":0,                     "connect_music":[                     ],                     "desc":"",                     "extra_attr":{                         "is_live":false                     },                     "hashtag_profile":"tos-cn-p-0015/261b04c24ba24d02afc39b762a5567e5",                     "is_challenge":0,                     "is_commerce":false,                     "is_pgcshow":false,                     "schema":"aweme://aweme/challenge/detail?cid=1674728436234252",                     "share_info":{                         "bool_persist":0,                         "share_desc":"在抖音,记录美好生活",                         "share_desc_info":"我在抖音参加#罔1云歌名起风了 ",                         "share_quote":"",                         "share_signature_desc":"",                         "share_signature_url":"",                         "share_title":"我在抖音参加#罔1云歌名起风了 ",                         "share_title_myself":"",                         "share_title_other":"",                         "share_url":"https://www.iesdouyin.com/share/challenge/1674728436234252/?u_code=0",                         "share_weibo_desc":"我在抖音参加#罔1云歌名起风了 "                     },                     "show_items":null,                     "sub_type":0,                     "type":1,                     "user_count":0,                     "view_count":0                 }             }         ],         "cursor":10,         "extra":{             "fatal_item_ids":[             ],             "logid":"20200914234019010144040206382C40F3",             "now":1600098019000         },         "has_more":1,         "log_pb":{             "impr_id":"20200914234019010144040206382C40F3"         },         "status_code":0     },     "msg":"success" }

读到这里,这篇“python怎么实现热门话题推荐功能”文章已经介绍完毕,想要掌握这篇文章的知识点还需要大家自己动手实践使用过才能领会,如果想了解更多相关内容的文章,欢迎关注亿速云行业资讯频道。

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI