最新抖音视频无水印解析接口及原理

来源:博客园 分类: 文章浏览史 发布时间:2021-11-04 16:57:51 最后更新:2021-11-04 浏览:541
转载声明:
本文为摘录自“博客园”,版权归原作者所有。
温馨提示:
为了更好的体验,请点击原文链接进行浏览
摘录时间:
2021-11-04 16:57:51

1.无水印解析原理
用户将抖音视频分享给另外一个人的时候,可以直接复制链接。用户将得到一个类似下面的短链接
https://v.douyin.com/Du2M7R
1
如果你对这方面有兴趣,可以和我们一群程序员交流学习,共同进步

695623459
1
用户将短链口令复制,打开抖音的时候,会直接弹出对方分享视频弹窗

用户点击打开看看,会调用视频详情接口,返回视频的详细信息。
2.视频详情接口
经抓包,抓到该接口如下

curl
-H 'Host: aweme-hl.snssdk.com'
-H 'Cookie: odin_tt=XXX'
-H 'x-ss-req-ticket: XXX'
-H 'x-tt-token: XXX'
-H 'sdk-version: 1'
-H 'user-agent: com.ss.android.ugc.aweme/740 (XXX)'
-H 'x-gorgon: XXX'
-H 'x-khronos: XXX'
--compressed
'https://aweme-hl.snssdk.com/aweme/v1/aweme/detail/?aweme_id=6722308029779332359&origin_type=link&os_api=23&device_type=Redmi%204A&device_platform=android&ssmix=a&iid=XXX&manifest_version_code=740&dpi=320&js_sdk_version=1.19.4.12&uuid=XXX&version_code=740&app_name=aweme&version_name=7.4.0&ts=1565242929&openudid=XXX&device_id=XXX&resolution=720*1280&os_version=6.0.1&language=zh&device_brand=Xiaomi&app_type=normal&ac=wifi&update_version_code=7402&aid=1128&channel=xiaomi&_rticket=XXX'
1
2
3
4
5
6
7
8
9
10
11
实际上这个接口的上述header并非必须,某些接口参数也并非必须,可以简化如下

https://aweme-hl.snssdk.com/aweme/v1/aweme/detail/?aweme_id=6722308029779332359&device_platform=ios&app_name=aweme&aid=1128
1
参数说明:

参数 类型 说明
aweme_id long 视频id
device_platform string 设备,其实这个值只需要存在即可,可以随意捏造,就算填写"CSDN"都没有问题
app_name string app名,固定,不允许修改
aid int 固定,不允许修改
3.视频id 「aweme_id」的获取
用户分享的短链,实际上会重定向到一个新的页面。

如图,302重定向到一个新的地址

https://www.iesdouyin.com/share/video/6722308029779332359/?region=CN&mid=6701275998849092360&u_code=1613ld41c&titleType=title&utm_source=copy_link&utm_campaign=client_share&utm_medium=android&app=aweme&timestamp=1565234977
1
该地址中的6722308029779332359就是aweme_id

4.接口数据分析
请求上述接口,aweme_id=6722308029779332359
得到如下结果

{
"status_code": 0,
"aweme_detail": {
"video": {
"cover": {
"uri": "tos-cn-p-0015/0d8b20890aed49d5a8f92ca857d07a44",
"url_list": ["https://p9-dy.byteimg.com/img/tos-cn-p-0015/0d8b20890aed49d5a8f92ca857d07a44~c5_300x400.jpeg", "https://p1-dy.byteimg.com/img/tos-cn-p-0015/0d8b20890aed49d5a8f92ca857d07a44~c5_300x400.jpeg", "https://p3-dy.byteimg.com/img/tos-cn-p-0015/0d8b20890aed49d5a8f92ca857d07a44~c5_300x400.jpeg"],
"width": 720,
"height": 720
},
"play_addr": {
"uri": "v0200fee0000bl59elet8ah4rl1hnqa0",
"url_list": ["https://aweme-hl.snssdk.com/aweme/v1/play/?video_id=v0200fee0000bl59elet8ah4rl1hnqa0&line=0&ratio=540p&media_type=4&vr_type=0&improve_bitrate=0&is_play_url=1", "https://api-hl.amemv.com/aweme/v1/play/?video_id=v0200fee0000bl59elet8ah4rl1hnqa0&line=1&ratio=540p&media_type=4&vr_type=0&improve_bitrate=0&is_play_url=1"],
"width": 720,
"height": 720,
"url_key": "v0200fee0000bl59elet8ah4rl1hnqa0_h264_540p_0"
},
"ratio": "540p",
"download_addr": {
"uri": "v0200fee0000bl59elet8ah4rl1hnqa0",
"url_list": ["https://aweme-hl.snssdk.com/aweme/v1/play/?video_id=v0200fee0000bl59elet8ah4rl1hnqa0&line=0&ratio=540p&watermark=1&media_type=4&vr_type=0&improve_bitrate=0&logo_name=aweme", "https://api-hl.amemv.com/aweme/v1/play/?video_id=v0200fee0000bl59elet8ah4rl1hnqa0&line=1&ratio=540p&watermark=1&media_type=4&vr_type=0&improve_bitrate=0&logo_name=aweme"],
"width": 720,
"height": 720
},
"has_watermark": true,
"play_addr_lowbr": {
"uri": "v0200fee0000bl59elet8ah4rl1hnqa0",
"url_list": ["https://aweme-hl.snssdk.com/aweme/v1/play/?video_id=v0200fee0000bl59elet8ah4rl1hnqa0&line=0&ratio=540p&media_type=4&vr_type=0&improve_bitrate=0&is_play_url=1", "https://api-hl.amemv.com/aweme/v1/play/?video_id=v0200fee0000bl59elet8ah4rl1hnqa0&line=1&ratio=540p&media_type=4&vr_type=0&improve_bitrate=0&is_play_url=1"],
"width": 720,
"height": 720,
"url_key": "v0200fee0000bl59elet8ah4rl1hnqa0_h264_540p_0"
},
"duration": 13600,
"is_h265": 0,
"origin_cover": {
"uri": "large/tos-cn-p-0015/22b8a64040ab4ed8908823b8c6007ea9",
"url_list": ["http://p3-dy.byteimg.com/large/tos-cn-p-0015/22b8a64040ab4ed8908823b8c6007ea9.jpeg", "http://p9-dy.byteimg.com/large/tos-cn-p-0015/22b8a64040ab4ed8908823b8c6007ea9.jpeg", "http://p1-dy.byteimg.com/large/tos-cn-p-0015/22b8a64040ab4ed8908823b8c6007ea9.jpeg"],
"width": 720,
"height": 720
},
"bit_rate": [],
"width": 720,
"dynamic_cover": {
"url_list": ["https://p9-dy.byteimg.com/obj/tos-cn-p-0015/e2993909e165470794f93d5f66c24b4b", "https://p1-dy.byteimg.com/obj/tos-cn-p-0015/e2993909e165470794f93d5f66c24b4b", "https://p3-dy.byteimg.com/obj/tos-cn-p-0015/e2993909e165470794f93d5f66c24b4b"],
"width": 720,
"height": 720,
"uri": "tos-cn-p-0015/e2993909e165470794f93d5f66c24b4b"
},
"cdn_url_expired": 0,
"height": 1280
},
"share_info": {
"share_signature_desc": "TikTok: Make Every Second Count",
"share_url": "https://www.iesdouyin.com/share/video/6722308029779332359/?region=CN&mid=6701275998849092360&u_code=-1&titleType=title",
"share_weibo_desc": "#在抖音,记录美好生活#这也算非物质文化遗产了吧?#七彩七夕 #女人最迷人的动作 @抖音小助手",
"bool_persist": 0,
"share_title_myself": "",
"share_title_other": "",
"share_link_desc": "#在抖音,记录美好生活#这也算非物质文化遗产了吧?#七彩七夕 #女人最迷人的动作 @抖音小助手 %s 复制此链接,打开【抖音短视频】,直接观看视频!",
"share_signature_url": "https://tiktokv.com/",
"share_desc": "在抖音,记录美好生活",
"share_title": "这也算非物质文化遗产了吧?#七彩七夕 #女人最迷人的动作 @抖音小助手",
"share_quote": ""
},
"is_relieve": false,
"region": "CN",
"promotions": [],
"create_time": 1565169519,
"xigua_task": {
"is_xigua_task": false
},
"misc_info": "{}",
"aweme_control": {
"can_forward": true,
"can_share": true,
"can_comment": true,
"can_show_comment": true
},
"cha_list": [{
"user_count": 0,
"sub_type": 0,
"collect_stat": 0,
"is_challenge": 0,
"desc": "央视综艺联合抖音发起“七彩七夕”挑战赛,点击挑战页【参与】按钮使用“七彩七夕”道具拍摄并投稿,快和你的ta一起来参加吧!",
"schema": "aweme://aweme/challenge/detail?cid=1608836241932295",
"share_info": {
"share_url": "https://www.iesdouyin.com/share/challenge/1608836241932295/?u_code=-1",
"share_desc": "央视综艺联合抖音发起“七彩七夕”挑战赛,点击挑战页【参与】按钮使用“七彩七夕”道具拍摄并投稿,快和你的ta一起来参加吧!",
"share_title": "我在抖音参加#七彩七夕,超多有趣音乐短视频!赶快来玩!戳这里>>",
"share_signature_desc": "TikTok: Make Every Second Count",
"share_quote": "",
"share_weibo_desc": "我在抖音参加#七彩七夕,超多有趣音乐短视频!赶快来玩!戳这里>>",
"bool_persist": 0,
"share_title_myself": "",
"share_title_other": "",
"share_signature_url": "https://tiktokv.com/"
},
"connect_music": [],
"view_count": 0,
"cha_name": "七彩七夕",
"author": {
"followers_detail": null,
"type_label": null,
"ad_cover_url": null,
"cha_list": null,
"platform_sync_info": null,
"geofencing": null,
"cover_url": null,
"item_list": null,
"new_story_cover": null,
"relative_users": null
},
"type": 2,
"is_pgcshow": false,
"is_commerce": false,
"cha_attrs": null,
"cid": "1608836241932295"
}],
"is_fantasy": false,
"challenge_position": null,
"music": {
"cover_medium": {
"uri": "20b5d00006c3864ebabf5",
"url_list": ["https://p3-dy.byteimg.com/aweme/720x720/20b5d00006c3864ebabf5.jpeg", "https://p9-dy.byteimg.com/aweme/720x720/20b5d00006c3864ebabf5.jpeg", "https://p1-dy.byteimg.com/aweme/720x720/20b5d00006c3864ebabf5.jpeg"],
"width": 720,
"height": 720
},
"end_time": 0,
"position": null,
"is_restricted": false,
"prevent_item_download_status": 0,
"play_url": {
"uri": "http://p9-dy.byteimg.com/obj/ies-music/1636105740441640.mp3",
"url_list": ["http://p9-dy.byteimg.com/obj/ies-music/1636105740441640.mp3"],
"width": 720,
"height": 720
},
"binded_challenge_id": 0,
"author_position": null,
"prevent_download": false,
"strong_beat_url": {
"height": 720,
"uri": "http://p9-dy.byteimg.com/obj/ies-music/strong_beat/1639129102290952",
"url_list": ["http://p9-dy.byteimg.com/obj/ies-music/strong_beat/1639129102290952"],
"width": 720
},
"unshelve_countries": null,
"author": "药水哥",
"cover_hd": {
"uri": "20b5d00006c3864ebabf5",
"url_list": ["https://p3-dy.byteimg.com/aweme/1080x1080/20b5d00006c3864ebabf5.jpeg", "https://p9-dy.byteimg.com/aweme/1080x1080/20b5d00006c3864ebabf5.jpeg", "https://p1-dy.byteimg.com/aweme/1080x1080/20b5d00006c3864ebabf5.jpeg"],
"width": 720,
"height": 720
},
"collect_stat": 0,
"redirect": false,
"status": 1,
"owner_nickname": "药水哥",
"avatar_large": {
"uri": "20b5d00006c3864ebabf5",
"url_list": ["https://p3-dy.byteimg.com/aweme/1080x1080/20b5d00006c3864ebabf5.jpeg", "https://p9-dy.byteimg.com/aweme/1080x1080/20b5d00006c3864ebabf5.jpeg", "https://p1-dy.byteimg.com/aweme/1080x1080/20b5d00006c3864ebabf5.jpeg"],
"width": 720,
"height": 720
},
"preview_end_time": 0,
"preview_start_time": 0,
"id": 6701275998849092360,
"id_str": "6701275998849092360",
"title": "@药水哥创作的原声",
"is_original": false,
"mid": "6701275998849092360",
"is_video_self_see": false,
"avatar_medium": {
"url_list": ["https://p3-dy.byteimg.com/aweme/720x720/20b5d00006c3864ebabf5.jpeg", "https://p9-dy.byteimg.com/aweme/720x720/20b5d00006c3864ebabf5.jpeg", "https://p1-dy.byteimg.com/aweme/720x720/20b5d00006c3864ebabf5.jpeg"],
"width": 720,
"height": 720,
"uri": "20b5d00006c3864ebabf5"
},
"cover_large": {
"url_list": ["https://p3-dy.byteimg.com/aweme/1080x1080/20b5d00006c3864ebabf5.jpeg", "https://p9-dy.byteimg.com/aweme/1080x1080/20b5d00006c3864ebabf5.jpeg", "https://p1-dy.byteimg.com/aweme/1080x1080/20b5d00006c3864ebabf5.jpeg"],
"width": 720,
"height": 720,
"uri": "20b5d00006c3864ebabf5"
},
"cover_thumb": {
"height": 720,
"uri": "20b5d00006c3864ebabf5",
"url_list": ["https://p3-dy.byteimg.com/aweme/100x100/20b5d00006c3864ebabf5.jpeg", "https://p9-dy.byteimg.com/aweme/100x100/20b5d00006c3864ebabf5.jpeg", "https://p1-dy.byteimg.com/aweme/100x100/20b5d00006c3864ebabf5.jpeg"],
"width": 720
},
"start_time": 0,
"duration": 128,
"extra": "{\"has_edited\":0,\"reviewed\":1,\"beats\":{\"energy_trace\":\"http://p9-dy.byteimg.com/obj/ies-music/strong_beat/v3/1640751651221518\",\"audio_effect_onset\":\"http://p3-dy.byteimg.com/obj/ies-music/strong_beat/v3/1640751651239948\",\"merged_beats\":\"http://p3-dy.byteimg.com/obj/ies-music/strong_beat/v3/1640751709689867\",\"beats_tracker\":\"http://p3-dy.byteimg.com/obj/ies-music/strong_beat/v3/1640751709667332\"},\"douyin_beats_info\":{},\"schedule_search_time\":0}",
"offline_desc": "",
"is_del_video": false,
"album": "",
"schema_url": "",
"source_platform": 23,
"external_song_info": [],
"sec_uid": "MS4wLjABAAAAVIuYhsKg3QyAgvUMqYAOXVaYhMPWmEpJeeDO6ycOPIg",
"user_count": 0,
"owner_id": "109769200179",
"author_deleted": false,
"owner_handle": "ysg522222",
"avatar_thumb": {
"height": 720,
"uri": "20b5d00006c3864ebabf5",
"url_list": ["https://p3-dy.byteimg.com/aweme/100x100/20b5d00006c3864ebabf5.jpeg", "https://p9-dy.byteimg.com/aweme/100x100/20b5d00006c3864ebabf5.jpeg", "https://p1-dy.byteimg.com/aweme/100x100/20b5d00006c3864ebabf5.jpeg"],
"width": 720
}
},
"statistics": {
"aweme_id": "6722308029779332359",
"comment_count": 12643,
"digg_count": 188450,
"download_count": 3541,
"play_count": 0,
"share_count": 2331,
"forward_count": 24,
"lose_count": 0,
"lose_comment_count": 0
},
"risk_infos": {
"content": "",
"vote": false,
"warn": false,
"risk_sink": false,
"type": 0
},
"group_id": "6722306130351049996",
"long_video": null,
"user_digged": 0,
"is_ads": false,
"prevent_download": false,
"desc_language": "zh",
"distribute_type": 1,
"share_url": "https://www.iesdouyin.com/share/video/6722308029779332359/?region=CN&mid=6701275998849092360&u_code=-1&titleType=title",
"status": {
"is_private": false,
"private_status": 0,
"in_reviewing": false,
"reviewed": 1,
"self_see": false,
"allow_comment": true,
"is_delete": false,
"allow_share": true,
"with_goods": false,
"with_fusion_goods": false,
"is_prohibited": false,
"download_status": 0,
"aweme_id": "6722308029779332359"
},
"duration": 13600,
"nickname_position": null,
"desc": "这也算非物质文化遗产了吧?#七彩七夕 #女人最迷人的动作 @抖音小助手",
"author": {
"live_verify": 0,
"ins_id": "",
"twitter_id": "",
"fb_expire_time": 0,
"region": "CN",
"prevent_download": false,
"status": 1,
"hide_search": false,
"youtube_channel_title": "",
"avatar_uri": "285610004f7565511d1f6",
"relative_users": null,
"custom_verify": "",
"duet_setting": 0,
"comment_filter_status": 0,
"account_region": "",
"platform_sync_info": null,
"user_canceled": false,
"avatar_168x168": {
"uri": "285610004f7565511d1f6",
"url_list": ["http://p3-dy.byteimg.com/img/mosaic-legacy/285610004f7565511d1f6~168x168.webp", "http://p9-dy.byteimg.com/img/mosaic-legacy/285610004f7565511d1f6~168x168.webp", "http://p1-dy.byteimg.com/img/mosaic-legacy/285610004f7565511d1f6~168x168.webp"],
"width": 720,
"height": 720
},
"weibo_name": "",
"has_twitter_token": false,
"reflow_page_gid": 0,
"ad_cover_url": null,
"video_icon": {
"uri": "",
"url_list": [],
"width": 720,
"height": 720
},
"download_prompt_ts": 0,
"short_id": "12918345",
"location": "",
"need_recommend": 0,
"avatar_thumb": {
"uri": "285610004f7565511d1f6",
"url_list": ["https://p3-dy.byteimg.com/aweme/100x100/285610004f7565511d1f6.jpeg", "https://p9-dy.byteimg.com/aweme/100x100/285610004f7565511d1f6.jpeg", "https://p1-dy.byteimg.com/aweme/100x100/285610004f7565511d1f6.jpeg"],
"width": 720,
"height": 720
},
"youtube_channel_id": "",
"comment_setting": 0,
"is_binded_weibo": false,
"with_fusion_shop_entry": false,
"language": "zh-Hans",
"school_type": 0,
"react_setting": 0,
"weibo_verify": "",
"bind_phone": "",
"is_ad_fake": false,
"type_label": null,
"hide_location": false,
"story_count": 0,
"school_poi_id": "",
"commerce_user_level": 0,
"secret": 0,
"accept_private_policy": false,
"live_agreement_time": 0,
"avatar_300x300": {
"uri": "285610004f7565511d1f6",
"url_list": ["http://p3-dy.byteimg.com/img/mosaic-legacy/285610004f7565511d1f6~300x300.webp", "http://p9-dy.byteimg.com/img/mosaic-legacy/285610004f7565511d1f6~300x300.webp", "http://p1-dy.byteimg.com/img/mosaic-legacy/285610004f7565511d1f6~300x300.webp"],
"width": 720,
"height": 720
},
"has_facebook_token": false,
"has_youtube_token": false,
"shield_comment_notice": 0,
"uid": "59898870726",
"youtube_expire_time": 0,
"with_shop_entry": false,
"geofencing": [],
"school_name": "",
"enterprise_verify_reason": "",
"user_rate": 1,
"share_qrcode_uri": "216a00215063b305b5ba",
"avatar_larger": {
"uri": "285610004f7565511d1f6",
"url_list": ["https://p3-dy.byteimg.com/aweme/1080x1080/285610004f7565511d1f6.jpeg", "https://p9-dy.byteimg.com/aweme/1080x1080/285610004f7565511d1f6.jpeg", "https://p1-dy.byteimg.com/aweme/1080x1080/285610004f7565511d1f6.jpeg"],
"width": 720,
"height": 720
},
"following_count": 0,
"total_favorited": 0,
"share_info": {
"share_title": "",
"share_qrcode_url": {
"uri": "216a00215063b305b5ba",
"url_list": ["https://p9-dy.byteimg.com/obj/216a00215063b305b5ba", "https://p1-dy.byteimg.com/obj/216a00215063b305b5ba", "https://p3-dy.byteimg.com/obj/216a00215063b305b5ba"],
"width": 720,
"height": 720
},
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": "",
"share_desc": ""
},
"show_image_bubble": false,
"create_time": 0,
"live_commerce": false,
"signature": "",
"favoriting_count": 0,
"special_lock": 1,
"apple_account": 0,
"constellation": 0,
"followers_detail": null,
"google_account": "",
"download_setting": -1,
"is_verified": true,
"weibo_url": "",
"sync_to_toutiao": 0,
"has_orders": false,
"is_phone_binded": false,
"user_period": 0,
"cha_list": null,
"with_commerce_entry": false,
"has_insights": false,
"item_list": null,
"is_star": false,
"aweme_count": 0,
"live_agreement": 0,
"cover_url": [{
"uri": "c8510002be9a3a61aad2",
"url_list": ["https://p9-dy.byteimg.com/obj/c8510002be9a3a61aad2", "https://p1-dy.byteimg.com/obj/c8510002be9a3a61aad2", "https://p3-dy.byteimg.com/obj/c8510002be9a3a61aad2"],
"width": 720,
"height": 720
}],
"is_gov_media_vip": false,
"birthday": "",
"unique_id": "",
"verify_info": "",
"twitter_name": "",
"follower_status": 0,
"reflow_page_uid": 0,
"has_unread_story": false,
"avatar_medium": {
"uri": "285610004f7565511d1f6",
"url_list": ["https://p3-dy.byteimg.com/aweme/720x720/285610004f7565511d1f6.jpeg", "https://p9-dy.byteimg.com/aweme/720x720/285610004f7565511d1f6.jpeg", "https://p1-dy.byteimg.com/aweme/720x720/285610004f7565511d1f6.jpeg"],
"width": 720,
"height": 720
},
"with_dou_entry": false,
"room_id": 0,
"authority_status": 0,
"unique_id_modify_time": 1565244406,
"has_email": false,
"neiguang_shield": 0,
"new_story_cover": null,
"gender": 2,
"follow_status": 0,
"follower_count": 0,
"user_mode": 0,
"cv_level": "",
"shield_follow_notice": 0,
"is_discipline_member": false,
"is_block": false,
"tw_expire_time": 0,
"shield_digg_notice": 0,
"nickname": "豆可也叫dog",
"weibo_schema": "",
"story_open": false,
"verification_type": 1,
"sec_uid": "MS4wLjABAAAA0Dnmi-9Gg6hEgW1N4Vg07fcvhTWOmU7FweH9pAm2_fQ"
},
"comment_list": null,
"text_extra": [{
"user_id": "6796248446",
"type": 0,
"sec_uid": "MS4wLjABAAAAGA9bHrExvrQmowuVfRZxjG4s07M7EUjf1PlaHRHqdls",
"start": 29,
"end": 35
}, {
"end": 18,
"type": 1,
"hashtag_name": "七彩七夕",
"hashtag_id": "1608836241932295",
"is_commerce": false,
"start": 13
}, {
"type": 1,
"hashtag_name": "女人最迷人的动作",
"hashtag_id": "1581856270185485",
"is_commerce": false,
"start": 19,
"end": 28
}],
"image_infos": null,
"position": null,
"uniqid_position": null,
"author_user_id": 59898870726,
"interaction_stickers": null,
"origin_comment_ids": null,
"aweme_id": "6722308029779332359",
"aweme_type": 0,
"sort_label": "",
"video_text": [],
"with_promotional_music": false,
"item_duet": 0,
"rate": 10,
"bodydance_score": 0,
"is_pgcshow": false,
"vr_type": 0,
"label_top_text": null,
"item_react": 0,
"is_top": 0,
"cmt_swt": false,
"geofencing": [],
"collect_stat": 0,
"item_comment_settings": 0,
"distance": "",
"is_vr": false,
"is_hash_tag": 1,
"video_labels": null,
"poi_info": {
"icon_on_map": {
"width": 720,
"height": 720,
"uri": "9b9f0000b4780966e7d6",
"url_list": ["https://p3-dy.byteimg.com/obj/9b9f0000b4780966e7d6", "https://p9-dy.byteimg.com/obj/9b9f0000b4780966e7d6", "https://p1-dy.byteimg.com/obj/9b9f0000b4780966e7d6"]
},
"icon_on_entry": {
"uri": "9b9b00005de3e48dc45a",
"url_list": ["https://p9-dy.byteimg.com/obj/9b9b00005de3e48dc45a", "https://p1-dy.byteimg.com/obj/9b9b00005de3e48dc45a", "https://p3-dy.byteimg.com/obj/9b9b00005de3e48dc45a"],
"width": 720,
"height": 720
},
"poi_frontend_type": null,
"collect_stat": 0,
"poi_longitude": 106.628114,
"expand_type": 1,
"distance": "",
"poi_latitude": 30.45617,
"poi_name": "摩尔春天百货",
"poi_subtitle_type": 0,
"is_admin_area": false,
"user_count": 4813,
"item_count": 1713,
"cover_thumb": {
"uri": "42dd001cefd27779e5e7",
"url_list": ["https://p9-dy.byteimg.com/obj/42dd001cefd27779e5e7", "https://p1-dy.byteimg.com/obj/42dd001cefd27779e5e7", "https://p3-dy.byteimg.com/obj/42dd001cefd27779e5e7"],
"width": 720,
"height": 720
},
"icon_on_info": {
"url_list": ["https://p3-dy.byteimg.com/obj/9b9d00022313b7094a75", "https://p9-dy.byteimg.com/obj/9b9d00022313b7094a75", "https://p1-dy.byteimg.com/obj/9b9d00022313b7094a75"],
"width": 720,
"height": 720,
"uri": "9b9d00022313b7094a75"
},
"show_type": 1,
"poi_id": "6601126235177224206",
"icon_type": 3,
"voucher_release_areas": null,
"poi_backend_type": {
"code": "050101",
"name": "购物;商场;商场"
},
"share_info": {
"bool_persist": 0,
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.iesdouyin.com/share/poilist/?id=B0FFFDFBHD",
"share_weibo_desc": "摩尔春天百货附近超多有趣的抖音视频,一起来玩,戳这里",
"share_desc": "",
"share_title": "摩尔春天百货附近超多有趣的抖音视频,一起来玩,戳这里"
},
"cover_large": {
"uri": "42dd001cefd27779e5e7",
"url_list": ["https://p9-dy.byteimg.com/obj/42dd001cefd27779e5e7", "https://p1-dy.byteimg.com/obj/42dd001cefd27779e5e7", "https://p3-dy.byteimg.com/obj/42dd001cefd27779e5e7"],
"width": 720,
"height": 720
},
"address_info": {
"district": "广安区",
"address": "滨河路88号",
"simple_addr": "广安市广安区滨河路88号",
"city_code": "511600",
"country": "中国",
"country_code": "CN",
"province": "四川省",
"city": "广安市"
},
"view_count": "1162087",
"type_code": "060102",
"cover_hd": {
"url_list": ["https://p3-dy.byteimg.com/obj/42dd001cefd27779e5e7", "https://p9-dy.byteimg.com/obj/42dd001cefd27779e5e7", "https://p1-dy.byteimg.com/obj/42dd001cefd27779e5e7"],
"width": 720,
"height": 720,
"uri": "42dd001cefd27779e5e7"
},
"cover_medium": {
"uri": "42dd001cefd27779e5e7",
"url_list": ["https://p1-dy.byteimg.com/obj/42dd001cefd27779e5e7", "https://p3-dy.byteimg.com/obj/42dd001cefd27779e5e7", "https://p9-dy.byteimg.com/obj/42dd001cefd27779e5e7"],
"width": 720,
"height": 720
}
},
"commerce_config_data": null,
"video_control": {
"allow_duet": true,
"show_progress_bar": 0,
"draft_progress_bar": 0,
"allow_react": true,
"prevent_download_type": 0,
"allow_dynamic_wallpaper": true,
"timer_status": 1,
"allow_download": true,
"share_type": 1
}
},
"extra": {
"logid": "20190808140646010029055092536F8C",
"now": 1565244406000,
"fatal_item_ids": []
},
"log_pb": {
"impr_id": "20190808140646010029055092536F8C"
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
info_json = 请求结果
那么,info_json.aweme_detail.video.play_addr.url_list就是实际的播放地址数组了了,无水印的,一般里面有两个链接

[
0: "https://aweme-hl.snssdk.com/aweme/v1/play/?video_id=v0200fee0000bl59elet8ah4rl1hnqa0&line=0&ratio=540p&media_type=4&vr_type=0&improve_bitrate=0&is_play_url=1",
1: "https://api-hl.amemv.com/aweme/v1/play/?video_id=v0200fee0000bl59elet8ah4rl1hnqa0&line=1&ratio=540p&media_type=4&vr_type=0&improve_bitrate=0&is_play_url=1"
]
1
2
3
4
取出一个进行下载即可。

5.缺陷,调用频率限制
超出抖音的调用频率限制,接口正常响应,但是返回的数据是空的
在最新抖音视频无水印解析接口-突破频率限制给出了解决

{
"status_code": 0,
"aweme_detail": {
"video": {
"ratio": "720p",
"play_addr": {
"url_list": []
},
"height": 1024,
"width": 576,
"bit_rate": [{
"bit_rate": 2053004,
"gear_name": "normal",
"quality_type": 0
}],
"download_addr": {
"url_list": [],
"uri": ""
},
"has_watermark": true,
"play_addr_lowbr": {
"url_list": [],
"uri": ""
},
"dynamic_cover": {
"url_list": [],
"uri": ""
}
},
"video_labels": [],
"is_vr": false,
"vr_type": 0,
"statistics": {
"play_count": 1300405217,
"comment_count": 343735703,
"share_count": 591234323,
"digg_count": 454542222
},
"author": {},
"music": {
"status": 1,
"extra": "{\"has_edited\": 0}",
"is_original": false,
"offline_desc": "",
"audio_track": {
"url_list": []
},
"play_url": {
"url_list": []
},
"effects_data": {
"url_list": []
}
},
"status": {
"with_goods": false,
"is_delete": false,
"private_status": 0,
"with_fusion_goods": false,
"allow_comment": true,
"allow_share": true,
"is_private": false
},
"video_text": [],
"is_top": 0,
"aweme_type": 0,
"geofencing": [],
"region": "CN",
"is_pgcshow": false,
"is_relieve": false,
"text_extra": [{
"at_user_type": "",
"type": 0
}],
"cha_list": []
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
点赞 2
————————————————
版权声明:本文为CSDN博主「ucsheep」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/ucsheep/article/details/98866480

php技术微信