十行代码获取抖音无水印视频地址
Videoparse(https://www.videoparse.cn) 提供视频去水印解析接口,下面代码中的appId和appSecret可以在开发者后台获得。
PHP代码实例如下:
//开发者后台生成的appid $appId = ‘‘; //开发者后台生成的appsecret $appSecret = ‘‘; //需要解析的url $url = ‘‘; $param = [ ‘appid‘ => $appId, ‘appsecret‘ => $appSecret, ‘url‘ => $url, ]; //得到请求的地址:https://api-sv.videoparse.cn/api/video/normalParse?appid=2m3Ju99MPXrNtkgH&appsecret=bNG3JYjT83qp4cib&url=http%3A%2F%2Fv.douyin.com%2Fa2X5ab%2F $apiUrl = ‘https://api-sv.videoparse.cn/api/video/normalParse?‘.http_build_query($param); $videoInfo = file_get_contents($apiUrl); print_r($videoInfo);
相关推荐
znbvx 2020-11-13
cdkey 2020-04-27
Roka 2020-02-01
owilson 2019-12-25
onandonandon 2019-11-17
浪味仙 2019-10-21
Alanxz 2019-06-08
laishaojiang 2019-06-08
手把手教你学安卓 2019-07-01
bailangriver 2019-07-01
zonehh 2019-06-30
zheglei 2016-01-14
歆萌 2019-06-27
jieq 2019-06-27
zheglei 2014-03-14
Bierante 2019-06-26