本篇内容介绍了“python怎么实现用户粉丝列表”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!
http://主机地址/douyin/user/followers?token=xxx&uid=100000004548&cursor=0
GET
字段 | 类型 | 说明 |
---|---|---|
token | string | 接口授权码 |
uid | int | 用户id |
cursor | int | 翻页游标,根据结果返回的cursor传入作为下一页翻页参数,初始为0 |
{
"code":200,
"data":{
"extra":{
"fatal_item_ids":[
],
"logid":"202009142151020100280680710A1CF23D",
"now":1600091462958
},
"followers":[
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
{
"accept_private_policy":false,
"account_region":"",
"apple_account":0,
"authority_status":0,
"avatar_168x168":{
"uri":"2e1ff00057231301091e1",
"url_list":[
"https://p9-dy.byteimg.com/img/2e1ff00057231301091e1~c5_168x168.webp?from=4010531038",
"https://p26-dy.byteimg.com/img/2e1ff00057231301091e1~c5_168x168.webp?from=4010531038",
"https://p6-dy-ipv6.byteimg.com/img/2e1ff00057231301091e1~c5_168x168.webp?from=4010531038"
]
},
"avatar_300x300":{
"uri":"2e1ff00057231301091e1",
"url_list":[
"https://p3-dy-ipv6.byteimg.com/img/2e1ff00057231301091e1~c5_300x300.webp?from=4010531038",
"https://p26-dy.byteimg.com/img/2e1ff00057231301091e1~c5_300x300.webp?from=4010531038",
"https://p9-dy.byteimg.com/img/2e1ff00057231301091e1~c5_300x300.webp?from=4010531038"
]
},
"avatar_larger":{
"uri":"2e1ff00057231301091e1",
"url_list":[
"https://cache.yisu.com/upload/information/20210521/347/247917.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247918.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247919.jpg?from=4010531038"
]
},
"avatar_medium":{
"uri":"2e1ff00057231301091e1",
"url_list":[
"https://cache.yisu.com/upload/information/20210521/347/247920.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247921.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247922.jpg?from=4010531038"
]
},
"avatar_thumb":{
"uri":"2e1ff00057231301091e1",
"url_list":[
"https://cache.yisu.com/upload/information/20210521/347/247923.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247924.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247925.jpg?from=4010531038"
]
},
"avatar_uri":"2e1ff00057231301091e1",
"bind_phone":"",
"bio_info_permission":0,
"birthday":"",
"birthday_hide_level":0,
"comment_filter_status":0,
"comment_setting":0,
"commerce_user_level":0,
"constellation":0,
"cover_url":[
{
"uri":"c8510002be9a3a61aad2",
"url_list":[
"http://p1-dy.byteimg.com/obj/c8510002be9a3a61aad2",
"http://p3-dy.byteimg.com/obj/c8510002be9a3a61aad2",
"http://p3-dy.byteimg.com/obj/c8510002be9a3a61aad2"
]
}
],
"create_time":0,
"custom_verify":"",
"cv_level":"",
"default_download_setting":0,
"download_prompt_ts":0,
"download_setting":0,
"duet_setting":0,
"enterprise_verify_reason":"",
"follow_status":0,
"follower_status":0,
"gender":0,
"geofencing":[
],
"google_account":"",
"has_email":false,
"has_insights":false,
"has_orders":false,
"hide_location":false,
"hide_search":false,
"ins_id":"",
"is_ad_fake":false,
"is_binded_weibo":false,
"is_gov_media_vip":false,
"is_mirror":false,
"is_phone_binded":false,
"is_star_atlas":0,
"is_verified":false,
"language":"",
"live_agreement":0,
"live_agreement_time":0,
"live_commerce":false,
"live_verify":0,
"need_recommend":0,
"neiguang_shield":0,
"nickname":"我是大笨蛋",
"original_music_cover":null,
"original_music_qrcode":null,
"policy_version":[
],
"prevent_download":false,
"react_setting":0,
"reflow_page_gid":0,
"reflow_page_uid":0,
"region":"CN",
"room_id":0,
"school_name":"",
"school_poi_id":"",
"school_type":0,
"sec_uid":"MS4wLjABAAAAF4g0GM09sHOCFCyyiOfCnJ4ICKnhnb6Z8H-tbV7B0j4",
"secret":0,
"share_qrcode_uri":"2e1ff0005726d8c353243",
"shield_comment_notice":0,
"shield_digg_notice":0,
"shield_follow_notice":0,
"short_id":"631858119",
"signature":"",
"special_lock":1,
"status":1,
"story_open":false,
"twitter_id":"",
"twitter_name":"",
"type_label":[
],
"uid":"94723618311",
"unique_id":"",
"unique_id_modify_time":1550569152,
"user_canceled":false,
"user_mode":0,
"user_period":0,
"user_rate":1,
"user_rate_map":{
},
"verification_type":1,
"verify_info":"",
"video_icon":{
"uri":"",
"url_list":[
]
},
"video_icon_virtual_URI":"",
"weibo_name":"",
"weibo_schema":"",
"weibo_url":"",
"weibo_verify":"",
"with_commerce_entry":false,
"with_fusion_shop_entry":false,
"youtube_channel_id":"",
"youtube_channel_title":""
}
],
"has_more":true,
"hotsoon_has_more":0,
"hotsoon_text":"",
"log_pb":{
"impr_id":"202009142151020100280680710A1CF23D"
},
"max_time":1600091460,
"min_time":1600091429,
"myself_user_id":"92913294066",
"offset":0,
"rec_has_more":false,
"status_code":0,
"total":96004297
},
"msg":"success"
}
“python怎么实现用户粉丝列表”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注亿速云网站,小编将为大家输出更多高质量的实用文章!
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。
原文链接:https://my.oschina.net/u/2293598/blog/4722038