例如你有视频地址:
且不分享下载,想通过开发工具,获取下载地址:
直接在浏览器中是无法下载的,需要通过curl方式下载,
curl 'https://yunluzhi-az-1258344699.file.myqcloud.com/cos/200000001/1810109452991811584/1810109452991811585/TM-20240708081042-6110342193-recording-1.mp4?token=eJxskEtv4jwUhv9LtvmCbydOgvQtoEAKLbRcKpVukEmcYMiN4GjiTOe_j2hhNIvx8vE5R-_z_rQ2z-ueqKpdo2Krb4miLEyutHEguoSjj_jdlMl5KIeyNh8LmvJz08bbqeZv1n_fq5FWZWH1rddMmM-D1tWlj5BpiqzpDsoRnUOo6zMAHgS9RGWyl5tzlJVN3IvKHEXlBVH8_QgiPsEEB-DSICA-Ia4P_2Au2swdiilgD_vYJxiowwnBDCgJmFPLqKxjVaQO6eUVfOJb0kt82omq-tIkPgD3ALDHPBy4FChntzFtKmn1rdX44WU1mi7CO1b5FROPYmAU-3C_qtKr_LIu1HaIMxyuM3QWa1vmW3c_vuj1ooXVLEfx6wyKZGIvBi16VPNpptNp9rQ_CtdMeIxFd1CD8qVrWxRtUnYcI-5SdpyVKufecoDb5rwno_DHKZPB3C5Ox3b4-MYHfBjm_vQ5qZerZOOZwA7HsLXxvnt6YDZzsUJxLgqWwlpONu9VhibL_2_BZVupWu5EomV9F3MZ_yN2UHqX1sJc__5q8Ks-69fvAAAA___BuKfb' \
-H 'accept: */*' \
-H 'accept-language: en-US,en;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6' \
-H 'priority: i' \
-H 'range: bytes=0-' \
-H 'referer: https://meeting.tencent.com/' \
-H 'sec-ch-ua: "Not/A)Brand";v="8", "Chromium";v="126", "Microsoft Edge";v="126"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'sec-fetch-dest: video' \
-H 'sec-fetch-mode: no-cors' \
-H 'sec-fetch-site: cross-site' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0'
注意需要删除:-H 'range: bytes=0-' \
在系统打开term命令行软件或者类似的命令工具中,复制全部修改后的内容,最后加上-O,表示下载。
参考:技术小站-如何下网页上的视频(1) | 罗宇成的博客 (loycine.github.io)
怎么办?网页版腾讯会议录制的下载方法! – 哔哩哔哩 (bilibili.com)
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/314046.html