抖音视频搜索
equalizer 累计使用:2079
请求地址 https://free.wqwlkj.cn/wqwlapi/dy_search.php
请求示例 https://free.wqwlkj.cn/wqwlapi/dy_search.php?msg=jk&n=1
请求方式 GET
返回格式 JSON
{
"desc": "小雨摇3.0#jk #狮子座 #小雨摇 #萌妹子",
"author": "ʚ呆呆魚ɞ",
"cover": "https://p3-pc-sign.douyinpic.com/tos-cn-p-0015c000-ce/oknrGe0fHIZwQ0XeLAeALLGrQ6sXARBsam2fwW~tplv-dy-360p.jpeg?biz_tag=pcweb_cover&card_type=153&column_n=0&from=327834062&l=20250426230243C28C7A6808DFFAC3AB1F&lk3s=138a59ce&s=PackSourceEnum_SEARCH&sc=origin_cover&se=false&x-expires=1746889200&x-signature=8bmJkBV2%2BNxL9JJw%2B%2FoPyyl%2F%2By4%3D",
"video": "https://v3-dy-o.zjcdn.com/a1a724e0db8e9f57de4b3f5c79e431ff/680d1fe5/video/tos/cn/tos-cn-ve-15c000-ce/osewZwfAmgLIeBAL0ZGeweICrQInkXspXLsHzG/?a=6383&ch=11&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=1090&bt=1090&cs=0&ds=6&ft=FYrO_g30BN11UvjVQPaByB7usDj6Dgnaglcjp&mime_type=video_mp4&qs=0&rc=NjUzO2ZlNGg4aDkzZDo0OkBpM3lqZnc5cnlveDMzbGkzNEBiLzMwLi80XjAxLWFiMS8yYSNfLWEuMmRzcGlgLS1kLWJzcw%3D%3D&btag=80000e00018000&cc=1f&cquery=101n_100B_100x_100z_100o&dy_q=1745679764&feature_id=59cb2766d89ae6284516c6a254e9fb61&l=20250426230243C28C7A6808DFFAC3AB1F&req_cdn_type="
}
参数名称 | 是否必需 | 参数说明 |
---|---|---|
msg |
否 | 需要搜索视频 |
n |
否 | 不填返回text列表 |
参数名称 | 参数类型 | 参数说明 |
---|---|---|
desc |
string |
描述 |
author |
string |
作者 |
cover |
string |
作品封面 |
video |
string |
视频链接 |
更新时间 2023-08-22 00:05:47
状态码 | 状态说明 |
---|---|
400 | 请求错误 |
403 | 请求被服务器拒绝 |
404 | 请求服务器失败 |
500 | 服务器错误 |
503 | 服务器维护 |
GET方法
$url = 'https://free.wqwlkj.cn/wqwlapi/dy_search.php';
$data = '?msg=jk&n=1';
$get = $url.$data;
$result = file_get_contents($get);
if ($result) {
//成功
echo $result;
} else {
//失败
}
POST方法
$url = 'https://free.wqwlkj.cn/wqwlapi/dy_search.php';
$data = array(
  'msg' => 'jk',
  'n' => '1',
);
$data = http_build_query($data);
$option = array('http'=>array('method'=>'POST','content'=>$data));
$context = stream_context_create($option);
$result = file_get_contents($url,false,$context);
if ($result) {
//成功
echo $result;
} else {
//失败
}
GET方法
var url = "https://free.wqwlkj.cn/wqwlapi/dy_search.php"
var data = "?msg=jk&n=1"
var xhrGet = new XMLHttpRequest();
xhrGet.open('GET', url + data, true);
xhrGet.send();
xhrGet.onreadystatechange = function() {
if (xhrGet.readyState == 4 && xhrGet.status == 200) {
//成功
var result = xhrGet.responseText;
console.log(result);
} else {
//失败
}
};
POST方法
var url = "https://free.wqwlkj.cn/wqwlapi/dy_search.php"
var data = "msg=jk&n=1"
var xhrPost = new XMLHttpRequest();
xhrPost.open('POST', url, true);
xhrPost.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhrPost.send(data);
xhrPost.onreadystatechange = function() {
if (xhrPost.readyState == 4 && xhrPost.status == 200) {
//成功
var result = xhrPost.responseText;
console.log(result);
} else {
//失败
}
};
GET方法
new Thread(){
public void run() {
String path = "https://free.wqwlkj.cn/wqwlapi/dy_search.php";
String data = "?msg=jk&n=1";
try {
URL url = new URL(path + data);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
connection.setRequestMethod("GET");
int code = connection.getResponseCode();
if (code == 200) {
//成功
InputStreamReader isr = new InputStreamReader(connection.getInputStream());
BufferedReader bufferedreader = new BufferedReader(isr);
String string;
StringBuilder stringbuilder = new StringBuilder();
while ((string = bufferedreader.readLine()) != null) {
stringbuilder.append(string);
}
final String result = stringbuilder.toString();
System.out.println(result);
} else {
//失败
}
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}}.start();
POST方法
new Thread(){
public void run() {
String path = "https://free.wqwlkj.cn/wqwlapi/dy_search.php";
String data = "msg=jk&n=1";
try {
URL url = new URL(path);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
connection.setRequestMethod("POST");
connection.setDoOutput(true);
connection.getOutputStream().write(data.getBytes());
int code = connection.getResponseCode();
if (code == 200) {
//成功
InputStreamReader isr = new InputStreamReader(connection.getInputStream());
BufferedReader bufferedreader = new BufferedReader(isr);
String string;
StringBuilder stringbuilder = new StringBuilder();
while ((string = bufferedreader.readLine()) != null) {
stringbuilder.append(string);
}
final String result = stringbuilder.toString();
System.out.println(result);
} else {
//失败
}
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}}.start();
GET方法
url="https://free.wqwlkj.cn/wqwlapi/dy_search.php"
data=url.."?msg=jk&n=1"
Http.get(data,function(code,content,data)
if code==200 then
--成功
print(content)
else
--失败
end
end)
POST方法
url="https://free.wqwlkj.cn/wqwlapi/dy_search.php"
data="msg=jk&n=1"
Http.post(url,data,function(code,content,data)
if code==200 then
--成功
print(content)
else
--失败
end
end)
GET方法
变量 网络GET操作 为 网络操作 = 创建 网络操作()
变量 GET数据 为 文本型 = "?msg=jk&n=1"
网络GET操作.取网页源码("https://free.wqwlkj.cn/wqwlapi/dy_search.php" + GET数据)
事件 网络GET操作:取网页源码结束(结果 为 文本型,cookie 为 文本型)
//成功
调试输出(结果)
结束 事件
事件 网络GET操作:取网页源码失败(响应码 为 文本型)
//失败
结束 事件
POST方法
变量 网络POST操作 为 网络操作 = 创建 网络操作()
变量 POST数据 为 文本型 = "msg=jk&n=1"
网络POST操作.发送数据("https://free.wqwlkj.cn/wqwlapi/dy_search.php",POST数据)
事件 网络POST操作:发送数据结束(结果 为 文本型,cookie 为 文本型)
//成功
调试输出(结果)
结束 事件
事件 网络POST操作:发送数据失败(响应码 为 文本型)
//失败
结束 事件
GET方法
s url="https://free.wqwlkj.cn/wqwlapi/dy_search.php"
s data="?msg=jk&n=1"
ss(url+data,get)
t(){
hs(get,result)
f(result!=null){
//成功
syso(result)
}else{
//失败
}
}
POST方法
s url="https://free.wqwlkj.cn/wqwlapi/dy_search.php"
s data="msg=jk&n=1"
t(){
hs(url,data,"utf-8",result)
f(result!=null){
//成功
syso(result)
}else{
//失败
}
}
反馈时间 | 反馈接口 | 反馈内容 | 反馈者IP |
---|