這篇文章主要介紹“python如何實現用戶關注列表”,在日常操作中,相信很多人在python如何實現用戶關注列表問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”python如何實現用戶關注列表”的疑惑有所幫助!接下來,請跟著小編一起來學習吧!
http://主機地址/douyin/user/followings?token=xxx&uid=100000004548&cursor=1577594707000
GET
| 字段 | 類型 | 說明 |
|---|---|---|
| token | string | 接口授權碼 |
| uid | int | 用戶id |
| cursor | int | 翻頁游標,根據結果返回的cursor傳入作為下一頁翻頁參數,初始為0 |
{
"code":200,
"data":{
"extra":{
"fatal_item_ids":[
],
"logid":"2020091421494601002802214309181ADB",
"now":1600091386890
},
"followings":[
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":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
"url_list":[
"https://p9-dy.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_168x168.webp?from=4010531038",
"https://p6-dy-ipv6.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_168x168.webp?from=4010531038",
"https://p3-dy-ipv6.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_168x168.webp?from=4010531038"
]
},
"avatar_300x300":{
"uri":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
"url_list":[
"https://p3-dy-ipv6.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_300x300.webp?from=4010531038",
"https://p6-dy-ipv6.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_300x300.webp?from=4010531038",
"https://p9-dy.byteimg.com/img/tos-cn-i-0813/7030b6575bac4968a822669e457d26b5~c5_300x300.webp?from=4010531038"
]
},
"avatar_larger":{
"uri":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
"url_list":[
"https://cache.yisu.com/upload/information/20210521/347/247872.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247876.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247878.jpg?from=4010531038"
]
},
"avatar_medium":{
"uri":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
"url_list":[
"https://cache.yisu.com/upload/information/20210521/347/247881.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247886.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247887.jpg?from=4010531038"
]
},
"avatar_thumb":{
"uri":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
"url_list":[
"https://cache.yisu.com/upload/information/20210521/347/247888.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247892.jpg?from=4010531038",
"https://cache.yisu.com/upload/information/20210521/347/247894.jpg?from=4010531038"
]
},
"avatar_uri":"tos-cn-i-0813/7030b6575bac4968a822669e457d26b5",
"bind_phone":"",
"bio_info_permission":0,
"birthday":"2017-01-01",
"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":"CCTV-1《經典詠流傳》節目官方抖音賬號",
"follow_status":0,
"follower_status":0,
"gender":2,
"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":"MS4wLjABAAAA-CA-lq0X19hfiIPG6wA19xuXTJre1JrQX2jVD79OgRg",
"secret":0,
"share_qrcode_uri":"80fa0024ca1dc388297d",
"shield_comment_notice":0,
"shield_digg_notice":0,
"shield_follow_notice":0,
"short_id":"926253136",
"signature":"文以載道,歌以詠志!",
"special_lock":1,
"status":1,
"story_open":false,
"twitter_id":"",
"twitter_name":"",
"type_label":[
189,
6766427600769255000
],
"uid":"98297838633",
"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":"2020091421494601002802214309181ADB"
},
"max_time":1597329058,
"min_time":1557925977,
"myself_user_id":"0",
"offset":0,
"rec_has_more":false,
"status_code":0,
"total":27
},
"msg":"success"
}到此,關于“python如何實現用戶關注列表”的學習就結束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學習,快去試試吧!若想繼續學習更多相關知識,請繼續關注億速云網站,小編會繼續努力為大家帶來更多實用的文章!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。