1.无水印解析原理

  • 用户将抖音视频分享给另外一个人的时候,可以直接复制链接。用户将得到一个类似下面的短链接
https://v.douyin.com/Du2M7R

如果你对这方面有兴趣,可以和我们一群程序员交流学习,共同进步

695623459
  • 用户将短链口令复制,打开抖音的时候,会直接弹出对方分享视频弹窗
  • 用户点击打开看看,会调用视频详情接口,返回视频的详细信息。

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'

实际上这个接口的上述header并非必须,某些接口参数也并非必须,可以简化如下

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

参数说明:

参数 类型 说明
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

该地址中的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"}
}

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"
]

取出一个进行下载即可。

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. xpanx原理解析 | 只要 3 秒!抖音视频无水印下载

    哈啰,这里是「xpanx」,又来给大家分享「奇技淫巧」啦! 获取更多的黑科技知识,可以点击上方的专辑目录「xpanx」查看. 抖音无水印下载方法 今天给大家分享一个不需要借助任何工具或者网站,即可下载 ...

  3. 使用JS批量爬取抖音视频无水印链接

    目前抖音开放了网页版,可以直接通过打开链接就能观看视频,但是我们作为视频剪辑专业户,希望能批量下载视频. 我们以代古拉k作品主页为例,地址: https://www.douyin.com/user/M ...

  4. python视频解析库_python某音短视频无水印解析

    [Python] 纯文本查看 复制代码import requests import re import tkinter as tk #用户名: (.*?) #简介: (.*?) #封面:cover: ...

  5. video downloadhelper 无时间限制_Python实现超简单【抖音】无水印视频批量下载

    前言 本文的文字及图片来源于网络,仅供学习.交流使用,不具有任何商业用途,版权归原作者所有,如有问题请及时联系我们以作处理. 作者:python乱炖 转载: Python实现超简单[抖音]无水印视频批 ...

  6. 怎么在腾讯云函数抖音无水印解析接口部署

    使用腾讯云函数(SCF)部署抖音无水印接口调用代码,无需服务器,稳定安全可靠! 示例接口返回数据请求: https://service-eu6l8yx0-1256101469.gz.apigw.ten ...

  7. 爬虫进阶教程:抖音APP无水印视频批量下载

    一.前言 本文为两类人准备:技术控和工具控. 如果你是工具控,想简单方便地下载无水印的视频,那么可以使用第三方去水印平台: 抖音短视频解析下载平台 如果你是技术控,想要使用自己写的代码下载视频,那么可 ...

  8. 抖音批量无水印下载教程 2019

    下面看一下软件详细信息 只需三部步即可批量下在抖音小视频 无水印视频.软件下载地址 https://www.lanzous.com/i4gzlij 软件界面 软件使用方法 1.首先获取 抖音小视频 作 ...

  9. PHP 获取微视无水印源地址_最新PHP解析抖音获取无水印视频代码

    用户从抖音中复制链接,出来的地址,打开是带有水印的,要想通过复制的链接解析获取无水印的视频地址,可以看如下代码 PHP源码 $content = newCurlGet($url, $userAgent ...

  10. Python实现超简单【抖音】无水印视频批量下载

    导读:本文介绍了如何使用简单的Python爬虫爬取抖音上你喜欢的拍客的所有视频(包含有水印和无水印两种).代码已上传至公众号后台,回复:抖音 即可获得. 01 获取你喜欢的拍客的视频url 即抖音用户 ...

最新文章

  1. VS2010环境下MFC使用DataGrid绑定数据源
  2. visualSVN仓库创建及操作
  3. 网络编程知识预备(4) ——了解应用层的HTTP协议与HTTPS协议
  4. 11、oracle数据库下的事务和触发器
  5. 图解 Android 广播机制
  6. [Postman使用]请求与响应
  7. python教程推荐-入门python有什么好的书籍推荐?
  8. “迷失自我”,请记住下面5个网站,让你受益终身
  9. Scala 快查手册
  10. php微信跳转到支付宝,微信点击短链接直接跳转到支付宝领红包教程 附带例子...
  11. 网易 UI 自动化工具 Airtest
  12. 送小公主——哆啦A梦(Python代码实现)
  13. XSS漏洞利用——键盘记录
  14. 论文研读-用于处理昂贵问题的广义多任务优化GMFEA
  15. 毗邻目录算法与左右值无限分支算法的结合
  16. MIMIC-ivSQL查询策略-总结篇
  17. c语言正则表达式解析json,JSON解析使用正则表达式
  18. LED灯驱动电源的七条经验
  19. MT2503资料汇总,MT2503原理图
  20. 这一次,你打算怎么活?

热门文章

  1. 清理FLASH_RECOVERY_AREA
  2. vmware 安装 mac os 修改序列号
  3. Eviews(8)进行线性回归(ols一元)与格兰杰(Granger)因果关系检验操作步骤
  4. 高通CAMERA 调试
  5. VMware安装流畅系统Chrome OS以及国产系统FedyOS(基于Chrome OS的二次开发)
  6. 计算机物理仿真,仿真物理实验室初中完整版
  7. 板簧的弹性系数如何计算_一种板簧总成的刚度计算方法、系统及可读存储介质与流程...
  8. 微信小程序自动化测试——智能化 Monkey
  9. HikariCP连接池
  10. 变电所、分区所、AT所