快手短视频去水印API接口源码

快手短视频去水印API接口源码

支持输出:视频播放量,分享数,收藏量,无水印视频链接。

使用方法:你的域名/kuaishou.php?url=视频链接

<?php
$hh=$_GET["hh"]?:"\n";//换行符号(默认\n)QQ:3061163489
$data=get_curl("https://apissl.gifshow.com/rest/nebula/feed/hot?ll=CZT1m4npNjtAEQySPq2iW1pA&mod=meizu%2816s%29&appver=2.6.1.425&isp=CUCC&cold=false&lon=105.431804&language=zh-cn&sys=ANDROID_9&max_memory=256&ud=1345840440&egid=DFPC10857A24C5CDE6F6C34975D82BA3162CCA38863FFE68FC78C3115BCA1C29&pm_tag=&oc=MEIZU&sh=2232&browseType=3&ddpi=540&extId=2306b9565b7a726857d189ab0de14594&net=WIFI&socName=Qualcomm%20Snapdragon%208150&lat=27.214501&kcv=193&app=0&kpf=ANDROID_PHONE&ver=2.6&c=MEIZU&sw=1080&ftt=K-T-T&apptype=22&kpn=NEBULA&newOc=MEIZU&country_code=cn&nbh=108&hotfix_ver=&did_gt=1572003559755&iuid=&sbh=95&darkMode=false&did=ANDROID_1960c21d25a3fcf2","type=7&page=1&coldStart=false&count=20&pv=false&id=50&refreshTimes=3&pcursor=&source=2&needInterestTag=false&seid=b6c9aa0d-a506-4fb4-b474-48a9e4f95d7e&volume=0.4&backRefresh=false&pageCount=4&adChannel=&passThrough=0&thanosSpring=false&newUserRefreshTimes=-1&recoReportContext=%7B%22pullUpFresh%22%3A%221%22%7D&edgeRecoBit=2&realShowPhotoIds=5199405800433820816%2C5224175598514757862&__NStokensig=f5dcd0ab5ceb6635c1d6fa5a43c9a37c83cac34bc27b4ee8d44616502320de81&sig=27c22ebaadc82f49fb7c6d556ceaa0b1&client_key=2ac2a76d&kuaishou.api_st=Cg9rdWFpc2hvdS5hcGkuc3QSoAG4gU4uQB9pOutBQgzfOuYtxdLD33-gtZn22jk53SBnKM8icSpy1Xc_kX63vZqoMwPkddgNptX_Z_ZWA2emjb8fAVzBNVwk_EvVmLXN3mdJ7yOFOPKfVWRU05GR2O7dcZmSe9llzSWdMthNNepKmcalC7C6AtdI-5RiFmCjjLDTRPFowC9IJC4V6akVvXzcj2zkc7OlEJD4s4kEZqF6BAkMGhL608FrZ2RKEaX4x5mnqMPZWrYiIGZo57NK9sec4zqHttwGaShgshesJ-N8vD2CeSlVD35RKAUwAQ&os=android&token=Cg9rdWFpc2hvdS5hcGkuc3QSoAG4gU4uQB9pOutBQgzfOuYtxdLD33-gtZn22jk53SBnKM8icSpy1Xc_kX63vZqoMwPkddgNptX_Z_ZWA2emjb8fAVzBNVwk_EvVmLXN3mdJ7yOFOPKfVWRU05GR2O7dcZmSe9llzSWdMthNNepKmcalC7C6AtdI-5RiFmCjjLDTRPFowC9IJC4V6akVvXzcj2zkc7OlEJD4s4kEZqF6BAkMGhL608FrZ2RKEaX4x5mnqMPZWrYiIGZo57NK9sec4zqHttwGaShgshesJ-N8vD2CeSlVD35RKAUwAQ&__NS_sig3=2196214649d588a926616f7eb4e61bf0e1697654f4","0","token=Cg9rdWFpc2hvdS5hcGkuc3QSoAG4gU4uQB9pOutBQgzfOuYtxdLD33-gtZn22jk53SBnKM8icSpy1Xc_kX63vZqoMwPkddgNptX_Z_ZWA2emjb8fAVzBNVwk_EvVmLXN3mdJ7yOFOPKfVWRU05GR2O7dcZmSe9llzSWdMthNNepKmcalC7C6AtdI-5RiFmCjjLDTRPFowC9IJC4V6akVvXzcj2zkc7OlEJD4s4kEZqF6BAkMGhL608FrZ2RKEaX4x5mnqMPZWrYiIGZo57NK9sec4zqHttwGaShgshesJ-N8vD2CeSlVD35RKAUwAQ");
$json = json_decode($data, true);
$i=rand(0,count($json["feeds"]));
echo "分享数:".$json["feeds"][$i]["share_count"]."".$hh."";
echo "播放量:".$json["feeds"][$i]["view_count"]."".$hh."";
echo "收藏量:".$json["feeds"][$i]["like_count"]."".$hh."";
echo "播放链接:".$json["feeds"][$i]["adaptationSet"][0]["representation"][0]["urls"][0]["url"]."";
function get_curl($url,$post=0,$referer=1,$cookie=0,$header=0,$ua=1,$nobaody=0,$json=0){
$ch = curl_init();

 

温馨提示:本文最后更新于2023-01-24 02:11:09,某些文章具有时效性,若有错误或已失效,请在下方留言或联系58模板库
版权声明 1 本网站名称:58模板库
2 本站永久网址:https://WWW.MOBAN58.CN
3 本网站的文章部分内容可能来源于网络,仅供大家学习与参考,如有侵权,请联系站长 QQ166506645进行删除处理。
4 本站一切资源不代表本站立场,并不代表本站赞同其观点和对其真实性负责。
5 本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报
6 本站资源大多存储在云盘,如发现链接失效,请联系我们我们会第一时间更新。
------本页内容已结束,喜欢请分享------

感谢您的来访,获取更多精彩文章请收藏本站。

© 版权声明
THE END
喜欢就支持一下吧
点赞13 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容