|
本帖最后由 HelloWorld 于 2023-7-22 12:46 编辑
参考简化如下:- axios('https://vt.tiktok.com/ZSLkqxSCw/', {responseType: 'stream'}).then(({request})=>{
- const idVideo = request.res.responseUrl.match(/\d{19}/)[0]
- axios(`https://api16-normal-c-useast1a.tiktokv.com/aweme/v1/feed/?aweme_id=${idVideo}`)
- .then(({data})=>{
- console.log(data.aweme_list[0].video.play_addr.url_list[0]) // no warter mark url
- })
- })
复制代码 |
|